mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-06-24 05:51:48 +02: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) => {
|
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 => {
|
.catch(error => {
|
||||||
if ('webauthn' in error) {
|
if ('webauthn' in error) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user