The web app grows its account surface: login (with next-redirect, unverified-hint + resend), signup (react-hook-form + shared Zod schemas, field-level api errors, closed-registration state fed by the new public GET /auth/registration), e-mail verification, forgot/reset password; a settings page with profile (locale applies immediately), password change, and active-session management; a Site-Admin page for instance name, default locale, and registration mode. AuthProvider holds /auth/me, applies the profile locale, and backs route guards (RequireAuth/RequireAnonymous/RequireSiteAdmin); the top bar gains a user menu. All strings ship in the new auth/settings namespaces (de+ en); the exception filter now preserves handler-specific error codes. Verified live: signup → Mailpit → verify → login → profile through the Vite proxy. Closes #16 Closes #17 Closes #18 Closes #19 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
39 lines
1.0 KiB
JSON
39 lines
1.0 KiB
JSON
{
|
|
"title": "Settings",
|
|
"profile": {
|
|
"title": "Profile",
|
|
"displayName": "Display name",
|
|
"locale": "Language",
|
|
"locales": { "de": "Deutsch", "en": "English" },
|
|
"save": "Save",
|
|
"saved": "Saved."
|
|
},
|
|
"password": {
|
|
"title": "Change password",
|
|
"current": "Current password",
|
|
"new": "New password",
|
|
"submit": "Change password",
|
|
"changed": "Password changed. Other devices were signed out."
|
|
},
|
|
"sessions": {
|
|
"title": "Active sessions",
|
|
"current": "This session",
|
|
"created": "Signed in",
|
|
"lastSeen": "Last active",
|
|
"device": "Device",
|
|
"revoke": "Sign out",
|
|
"revokeAll": "Sign out all other sessions",
|
|
"empty": "No other active sessions."
|
|
},
|
|
"admin": {
|
|
"title": "Administration",
|
|
"instanceName": "Instance name",
|
|
"defaultLocale": "Default language",
|
|
"registrationMode": "Self-registration",
|
|
"registrationOpen": "Open — anyone can register",
|
|
"registrationClosed": "Closed — no new registrations",
|
|
"save": "Save",
|
|
"saved": "Saved."
|
|
}
|
|
}
|