Implement secure account lock and certificate-based unlock flow

This commit is contained in:
2026-04-07 15:45:08 -05:00
parent 46a11728b8
commit 9a8e70c943
13 changed files with 528 additions and 10 deletions
+4
View File
@@ -26,8 +26,12 @@ export default function LoginPage() {
if (code === 'EMAIL_NOT_VERIFIED') {
toast.success('Tu cuenta aún no está validada. Te enviamos un nuevo correo de confirmación.');
} else if (code === 'ACCOUNT_LOCKED') {
toast.error('Tu cuenta fue bloqueada temporalmente. Revisa tu correo para desbloquear el sistema.');
} else if (code === 'MAIL_SEND_FAILED') {
toast.error(message);
} else if (code === 'UNLOCK_MAIL_SEND_FAILED') {
toast.error(message);
} else {
toast.error(message);
}