fix(ui): keep recovery codes on screen and report failed logout
While one-time codes are visible the 401 redirect is suppressed and a beforeunload guard is active until the done button. MFA buttons follow the account state. A failed logout shows an error instead of looking successful. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
348e61ca95
commit
513741e403
5 files changed
+60
-8
No files matched your search
@@ -181,6 +181,10 @@ export const EN = {
|
||||
'Pelo menos 12 caracteres. As outras sessões da conta são encerradas.': 'At least 12 characters. The account\'s other sessions are ended.',
|
||||
'Cadastrar MFA': 'Enroll MFA',
|
||||
'Desativar MFA': 'Disable MFA',
|
||||
'Ativar MFA': 'Enable MFA',
|
||||
'O MFA não está ativo nesta conta.': 'MFA is not enabled on this account.',
|
||||
'Cadastrar MFA de novo': 'Enroll MFA again',
|
||||
'Não foi possível sair; a sessão continua ativa.': 'Could not sign out; the session is still active.',
|
||||
'Escaneie o QR no aplicativo autenticador ou digite a chave manual. Depois, informe o código gerado. Ao confirmar, todas as suas sessões terminam e você entra de novo.': 'Scan the QR with your authenticator app or type the manual key, then enter the generated code. Confirming ends all your sessions and you sign in again.',
|
||||
'Escaneie o QR no aplicativo autenticador ou digite a chave manual. Depois, informe o código gerado.': 'Scan the QR with your authenticator app or type the manual key, then enter the generated code.',
|
||||
'QR do cadastro de MFA': 'MFA enrollment QR',
|
||||
|
||||
Reference in new issue
Block a user