feat: add recovery-code password reset to login

This commit is contained in:
lezi-fun committed 2026-08-13 15:13:30 +08:00
1 parent 36fc7cbeb8
commit 63db81e498
5 files changed
+162 -1

No files matched your search

+12
View File
@@ -73,6 +73,18 @@
"username": "Username",
"passwordHint": "Password (min 6 chars)",
"forgotPassword": "Forgot password?",
"resetTitle": "Reset password with a recovery code",
"resetHint": "Enter your email and a recovery code generated in Settings to set a new password.",
"recoveryCode": "Recovery code",
"newPassword": "New password (min 6 characters)",
"confirmPassword": "Confirm new password",
"resetPassword": "Reset password",
"backToLogin": "Back to login",
"resetFillAll": "Please fill in all fields",
"passwordTooShort": "New password must be at least 6 characters",
"passwordMismatch": "The passwords do not match",
"resetSuccess": "Password reset. Please log in with your new password.",
"resetFailed": "Password reset failed: {{msg}}",
"captchaError": "Wrong captcha, please try again",
"registerSuccess": "Registration successful",
"loginSuccess": "Logged in",