mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-01-23 06:38:34 +01:00
Remove unexpected parameter when pushing to webauthn credential edition
This commit is contained in:
parent
bb4e79560c
commit
b9c8f9008f
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user