mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-08 05:24:48 +02:00
Remove unexpected parameter when pushing to webauthn credential edition
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user