mirror of
https://github.com/bitwarden/browser
synced 2026-01-08 19:43:45 +00:00
fix(2fa-recovery-code-error): [Auth/PM-19885] Better error handling when 2FA recovery code is invalid (#16145)
Implements better error handling when a user enters an invalid 2FA recovery code. Upon entering an invalid code: - Keep the user on the `/recover-2fa` page (This also makes it so the incorrect code remains in the form field so the user can see what they entered, if they mistyped the code, etc.) - Show an inline error: "Invalid recovery code"
This commit is contained in:
@@ -1517,6 +1517,9 @@
|
||||
"recoveryCodeTitle": {
|
||||
"message": "Recovery code"
|
||||
},
|
||||
"invalidRecoveryCode": {
|
||||
"message": "Invalid recovery code"
|
||||
},
|
||||
"authenticatorAppTitle": {
|
||||
"message": "Authenticator app"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user