mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-19 09:21:24 +02:00
refactor(auth-ui): i18n, security fixes, type safety across auth components
- Add locale prop (de/en) to PasswordStrength, ChangePassword, SecurityOnboarding, AuditLog, AuthGate tier screen - Add 13 new i18n keys to LoginTranslations for 2FA, lockout, magic link - Fix date formatting to use locale in AuditLog - Rewrite ForgotPasswordPage to Tailwind (matching Login/Register) - Fix HTML injection in ForgotPasswordPage (remove @html with email) - Guard DEV credentials behind isDevMode check in LoginPage - Extend AuthResult type with twoFactorRedirect and retryAfter - Remove as any casts in LoginPage - Replace scoped CSS with Tailwind in AuthGate tier-denied screen Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
c3bee2607b
commit
3b54d4d48e
8 changed files with 517 additions and 363 deletions
|
|
@ -61,6 +61,8 @@ export interface AuthResult {
|
|||
success: boolean;
|
||||
error?: string;
|
||||
needsVerification?: boolean;
|
||||
twoFactorRedirect?: boolean;
|
||||
retryAfter?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue