More refactoring. Prevent registering another key on the same authenticator for the same user.

This commit is contained in:
Leo Vasanko
2025-07-07 11:20:28 -06:00
parent eb56c000e8
commit 1c9044054a
7 changed files with 291 additions and 242 deletions

View File

@@ -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')
}
}