More refactoring. Prevent registering another key on the same authenticator for the same user.
This commit is contained in:
@@ -334,7 +334,7 @@ async function addNewCredential() {
|
||||
clearStatus('dashboardStatus')
|
||||
|
||||
} catch (error) {
|
||||
showStatus('dashboardStatus', `Failed to add new passkey: ${error.message}`, 'error')
|
||||
showStatus('dashboardStatus', 'Registration cancelled', 'error')
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user