Remove unexpected parameter when pushing to webauthn credential edition

This commit is contained in:
Bubka 2023-11-16 16:19:09 +01:00
parent bb4e79560c
commit b9c8f9008f

View File

@ -38,7 +38,7 @@
}
webauthnService.register().then((response) => {
router.push({ name: 'settings.webauthn.editCredential', params: { credentialId: JSON.parse(response.config.data).id, name: trans('auth.webauthn.my_device') } })
router.push({ name: 'settings.webauthn.editCredential', params: { credentialId: JSON.parse(response.config.data).id } })
})
.catch(error => {
if ('webauthn' in error) {