feat(api): accept recovery codes as second factor and let users regenerate them
Enabling TOTP returns ten codes that are shown once. Disabling TOTP and regenerating codes require the password plus a current code. Closes #40 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
This commit is contained in:
1 parent
dbea42e7a5
commit
7b063d2cd8
12 files changed
+510
-123
No files matched your search
@@ -11,7 +11,7 @@
|
||||
"auth.login.submit": "Weiter",
|
||||
"auth.login.title": "Anmelden",
|
||||
"auth.login.to_signup": "Registrieren",
|
||||
"auth.login.totp_hint": "Code aus der Authenticator-App eingeben.",
|
||||
"auth.login.totp_hint": "Code aus der Authenticator-App oder einen Wiederherstellungscode eingeben.",
|
||||
"auth.signup.submit": "Anlegen",
|
||||
"auth.signup.title": "Konto anlegen",
|
||||
"auth.signup.to_login": "Zur Anmeldung",
|
||||
@@ -61,6 +61,13 @@
|
||||
"error.unsupported_locale": "Sprache wird nicht unterstützt.",
|
||||
"lang.de": "Deutsch",
|
||||
"lang.en": "English",
|
||||
"security.recovery.left": {
|
||||
"one": "{{.Count}} Wiederherstellungscode übrig",
|
||||
"other": "{{.Count}} Wiederherstellungscodes übrig"
|
||||
},
|
||||
"security.recovery.regenerate": "Neue Wiederherstellungscodes erzeugen",
|
||||
"security.recovery.save_now": "Bewahre diese Wiederherstellungscodes sicher auf. Jeder funktioniert einmal, falls du deinen Authenticator verlierst. Sie werden nicht erneut angezeigt.",
|
||||
"security.recovery.saved": "Ich habe sie gespeichert",
|
||||
"security.sso.heading": "Single Sign-on",
|
||||
"security.sso.link": "SSO-Anmeldung verknüpfen",
|
||||
"security.sso.linked": "SSO-Anmeldung verknüpft.",
|
||||
@@ -69,7 +76,7 @@
|
||||
"security.totp.active": "aktiv",
|
||||
"security.totp.app_code": "Code aus der App",
|
||||
"security.totp.confirm": "Bestätigen",
|
||||
"security.totp.current_code": "Aktueller Code",
|
||||
"security.totp.current_code": "Aktueller Code oder Wiederherstellungscode",
|
||||
"security.totp.disable": "Deaktivieren",
|
||||
"security.totp.heading": "Zwei-Faktor (TOTP)",
|
||||
"security.totp.inactive": "nicht eingerichtet",
|
||||
|
||||
Reference in new issue
Block a user