mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-08 21:44:32 +02:00
Enable webauthn device registration during user registration
This commit is contained in:
@ -41,7 +41,6 @@
|
||||
router.push({ name: 'settings.webauthn.editCredential', params: { credentialId: JSON.parse(response.config.data).id, name: trans('auth.webauthn.my_device') } })
|
||||
})
|
||||
.catch(error => {
|
||||
console.log(error)
|
||||
if ('webauthn' in error) {
|
||||
if (error.name == 'is-warning') {
|
||||
notify.warn({ text: trans(error.message) })
|
||||
|
Reference in New Issue
Block a user