feat(auth): 支持企业微信重置密码

This commit is contained in:
sophie committed 2026-06-15 17:13:48 +08:00
1 parent 9bc4d1dd18
commit 6baeffba64
55 files changed
+2852 -546

No files matched your search

+23 -3
View File
@@ -30,11 +30,14 @@
"dbConnectionFailed": "Database connection failed. Please check if the database service is running.",
"internalError": "Internal server error. Please try again later.",
"rememberMe": "Remember me for 30 days",
"forgotPasswordDesc": "Enter your email to reset your password",
"forgotPasswordDesc": "Enter your employee ID and username; a reset link will be sent to your WeCom",
"findPassword": "Find Password",
"employeeIdRequired": "Please enter employee ID",
"passwordResetWecomSent": "If the account exists and WeCom is bound, a reset link has been sent to your WeCom.",
"passwordResetEmailSent": "If the account exists, a reset link has been sent to your email.",
"passwordResetRequestFailed": "Failed to request password reset",
"passwordResetRateLimited": "Too many attempts. Please try again in {minutes} minute(s).",
"announcements": "Announcements",
"passwordResetEmailSent": "如果账号存在,重置链接已发送到您的邮箱。",
"passwordResetRequestFailed": "请求密码重置失败",
"casdoorLogin": "Login with Casdoor",
"casdoorErrors": {
"invalidCredentials": "Incorrect username or password",
@@ -161,5 +164,22 @@
"employeeId": "Employee ID",
"phone": "Phone Number"
}
},
"resetPassword": {
"title": "Reset Password",
"desc": "Enter your new password below",
"newPassword": "New Password",
"confirmPassword": "Confirm Password",
"newPasswordPlaceholder": "Enter new password",
"confirmPasswordPlaceholder": "Confirm new password",
"submit": "Reset Password",
"submitting": "Resetting...",
"backToLogin": "Back to Login",
"fillAllFields": "Please fill in all fields",
"passwordMismatch": "Passwords do not match",
"successRedirect": "Password reset successfully. Redirecting to login...",
"failed": "Failed to reset password",
"invalidLink": "Invalid reset link. Please request password reset again.",
"tokenInvalid": "This link has expired or was already used. Please request a new reset link from the login page."
}
}