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

+45 -2
View File
@@ -237,8 +237,50 @@
}
},
"wecom": {
"title": "WeCom Binding Management",
"subtitle": "Manually bind/unbind WeCom accounts and review login audit records",
"title": "WeCom",
"subtitle": "Configure WeCom integration, sync userids, manage bindings and login audits",
"nav": {
"settings": "Settings",
"bindings": "Bindings",
"audits": "Login Audits"
},
"overview": {
"bound": "Bound userids",
"unbound": "Unbound",
"boundRate": "Bound rate",
"hint": "Password reset",
"hintDesc": "Users without wecom_userid cannot receive WeCom reset links"
},
"sync": {
"title": "Directory Sync",
"desc": "Pull WeCom members and backfill users.wecom_userid by employee ID for reset and notifications.",
"permissionNote": "Requires contact read and message send permissions on the WeCom app.",
"employeeIdSource": "Employee ID source",
"departmentId": "Root department ID (optional)",
"departmentIdPlaceholder": "Leave empty for all departments",
"preview": "Preview sync",
"apply": "Apply changes",
"previewDone": "Preview completed. Review results before applying.",
"previewFailed": "Preview sync failed",
"previewFirst": "Please preview sync results first",
"conflictsBlockApply": "Conflicts detected. Resolve them before applying.",
"nothingToUpdate": "Nothing to update",
"applyConfirm": "Write {count} userid bindings to the database?",
"applyDone": "Successfully updated {count} bindings",
"applyFailed": "Failed to apply sync results",
"invalidDepartmentId": "Department ID must be a positive integer",
"previewTruncated": "Showing first 20 of {total} pending updates",
"conflictsTitle": "Conflicts",
"occupiedBy": "userid already used by {user}",
"stats": {
"wecomUsers": "WeCom members",
"localMatched": "Local matched",
"wouldUpdate": "Would update",
"conflicts": "Conflicts"
}
},
"bindingsHint": "Users without wecom_userid cannot use WeCom password reset. Run directory sync or bind manually.",
"searchBindings": "Search username, name, employee ID or wecom_userid",
"systemSettings": "WeCom System Settings",
"integrationCopyTitle": "WeCom Console Copy Helper",
"integrationCopyDesc": "Copy these values directly into WeCom console fields.",
@@ -323,6 +365,7 @@
},
"headers": {
"user": "User",
"employeeId": "Employee ID",
"roleStatus": "Role / Status",
"wecomUserId": "WeCom UserId",
"unionId": "UnionId",
+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."
}
}
+7
View File
@@ -17,5 +17,12 @@
"info": "Notice",
"warning": "Warning",
"error": "Error"
},
"pagination": {
"summary": "Total {total} rows, page {page} / {pages}",
"perPage": "Per page",
"itemsUnit": "rows",
"prevPage": "Previous",
"nextPage": "Next"
}
}
+6 -1
View File
@@ -18,6 +18,11 @@
"USER_PHONE_EXISTS": "Phone number already exists.",
"USER_UNIQUENESS_CONFLICT": "Data uniqueness conflict.",
"SYSTEM_INTERNAL_ERROR": "Internal server error. Please try again later.",
"SYSTEM_HTTP_ERROR": "Request failed."
"SYSTEM_HTTP_ERROR": "Request failed.",
"WECOM_RESET_NOT_CONFIGURED": "WeCom password reset is not configured. Enable WeCom under Admin → WeCom → System Settings and fill Corp ID, Agent ID, and Secret.",
"WECOM_NOTIFY_DISABLED": "WeCom notifications are disabled. Enable them under Admin → WeCom → Notify Settings.",
"WECOM_RESET_URL_NOT_CONFIGURED": "Public base URL is not configured. Set WECOM_PUBLIC_BASE_URL in system settings.",
"AUTH_PASSWORD_RESET_RATE_LIMITED": "Too many requests. Please try again later.",
"AUTH_RESET_TOKEN_INVALID": "Reset link is invalid or expired. Please request password reset again."
}
}
+45 -2
View File
@@ -237,8 +237,50 @@
}
},
"wecom": {
"title": "การจัดการการผูกบัญชี WeCom",
"subtitle": "ผูก/ยกเลิกการผูกบัญชี WeCom แบบแมนนวล และตรวจสอบบันทึกการเข้าสู่ระบบ",
"title": "WeCom",
"subtitle": "ตั้งค่า WeCom ซิงค์ userid จัดการการผูกบัญชีและตรวจสอบการเข้าสู่ระบบ",
"nav": {
"settings": "การตั้งค่า",
"bindings": "การผูกบัญชี",
"audits": "ตรวจสอบการเข้าสู่ระบบ"
},
"overview": {
"bound": "ผูก userid แล้ว",
"unbound": "ยังไม่ผูก",
"boundRate": "อัตราการผูก",
"hint": "รีเซ็ตรหัสผ่าน",
"hintDesc": "ผู้ใช้ที่ไม่มี wecom_userid จะไม่ได้รับลิงก์รีเซ็ตผ่าน WeCom"
},
"sync": {
"title": "ซิงค์สมุดรายชื่อ",
"desc": "ดึงสมาชิก WeCom และเติม users.wecom_userid ตามรหัสพนักงาน",
"permissionNote": "แอป WeCom ต้องมีสิทธิ์อ่านสมุดรายชื่อและส่งข้อความ",
"employeeIdSource": "แหล่งรหัสพนักงาน",
"departmentId": "รหัสแผนกราก (ไม่บังคับ)",
"departmentIdPlaceholder": "เว้นว่างเพื่อซิงค์ทุกแผนก",
"preview": "ดูตัวอย่าง",
"apply": "ยืนยันเขียน",
"previewDone": "ดูตัวอย่างเสร็จแล้ว โปรดตรวจสอบก่อนยืนยัน",
"previewFailed": "ดูตัวอย่างล้มเหลว",
"previewFirst": "โปรดดูตัวอย่างก่อน",
"conflictsBlockApply": "พบความขัดแย้ง โปรดแก้ไขก่อนยืนยัน",
"nothingToUpdate": "ไม่มีรายการที่ต้องอัปเดต",
"applyConfirm": "ยืนยันเขียน {count} รายการลงฐานข้อมูล?",
"applyDone": "อัปเดต {count} รายการสำเร็จ",
"applyFailed": "ยืนยันการซิงค์ล้มเหลว",
"invalidDepartmentId": "รหัสแผนกต้องเป็นจำนวนเต็มบวก",
"previewTruncated": "แสดง 20 รายการแรกจากทั้งหมด {total} รายการ",
"conflictsTitle": "รายการขัดแย้ง",
"occupiedBy": "userid ถูกใช้โดย {user} แล้ว",
"stats": {
"wecomUsers": "สมาชิก WeCom",
"localMatched": "จับคู่ในระบบ",
"wouldUpdate": "จะอัปเดต",
"conflicts": "ขัดแย้ง"
}
},
"bindingsHint": "ผู้ใช้ที่ไม่มี wecom_userid ใช้การรีเซ็ตรหัสผ่านผ่าน WeCom ไม่ได้ โปรดซิงค์หรือผูกด้วยตนเอง",
"searchBindings": "ค้นหาชื่อผู้ใช้ ชื่อ รหัสพนักงาน หรือ wecom_userid",
"systemSettings": "การตั้งค่าระบบ WeCom",
"integrationCopyTitle": "ตัวช่วยคัดลอกค่าไปยังคอนโซล WeCom",
"integrationCopyDesc": "คัดลอกค่าด้านล่างไปใส่ในช่องที่ตรงกันในคอนโซลผู้ดูแล WeCom ได้โดยตรง",
@@ -328,6 +370,7 @@
},
"headers": {
"user": "ผู้ใช้",
"employeeId": "รหัสพนักงาน",
"roleStatus": "บทบาท / สถานะ",
"wecomUserId": "WeCom UserId",
"unionId": "UnionId",
+28 -2
View File
@@ -22,8 +22,12 @@
"forgotPassword": "ลืมรหัสผ่าน?",
"rememberMe": "จดจำการเข้าสู่ระบบ 30 วัน",
"announcements": "ประกาศ",
"forgotPasswordDesc": "กรอกอีเมลเพื่อรีเซ็ตรหัสผ่าน",
"forgotPasswordDesc": "กรอกรหัสพนักงานและชื่อผู้ใช้ ลิงก์รีเซ็ตจะถูกส่งไปยัง WeCom ของคุณ",
"findPassword": "ค้นหารหัสผ่าน",
"employeeIdRequired": "กรุณากรอกรหัสพนักงาน",
"passwordResetWecomSent": "หากบัญชีมีอยู่และผูก WeCom แล้ว ลิงก์รีเซ็ตถูกส่งไปยัง WeCom ของคุณแล้ว",
"passwordResetRequestFailed": "คำขอรีเซ็ตรหัสผ่านล้มเหลว",
"passwordResetRateLimited": "คำขอถี่เกินไป โปรดลองอีกครั้งใน {minutes} นาที",
"casdoorLogin": "เข้าสู่ระบบด้วย Casdoor",
"casdoorErrors": {
"invalidCredentials": "ชื่อผู้ใช้หรือรหัสผ่านไม่ถูกต้อง",
@@ -143,6 +147,28 @@
"success": "ส่งคำขอลงทะเบียนแล้ว โปรดรอการอนุมัติ",
"failed": "การลงทะเบียนล้มเหลว",
"inputError": "กรุณากรอกชื่อผู้ใช้และรหัสผ่าน",
"requestFailed": "คำขอล้มเหลว"
"requestFailed": "คำขอล้มเหลว",
"fields": {
"realName": "ชื่อจริง",
"employeeId": "รหัสพนักงาน",
"phone": "หมายเลขโทรศัพท์"
}
},
"resetPassword": {
"title": "รีเซ็ตรหัสผ่าน",
"desc": "กรอกรหัสผ่านใหม่ด้านล่าง",
"newPassword": "รหัสผ่านใหม่",
"confirmPassword": "ยืนยันรหัสผ่าน",
"newPasswordPlaceholder": "กรอกรหัสผ่านใหม่",
"confirmPasswordPlaceholder": "กรอกรหัสผ่านใหม่อีกครั้ง",
"submit": "รีเซ็ตรหัสผ่าน",
"submitting": "กำลังรีเซ็ต...",
"backToLogin": "กลับไปหน้าเข้าสู่ระบบ",
"fillAllFields": "กรุณากรอกข้อมูลให้ครบ",
"passwordMismatch": "รหัสผ่านไม่ตรงกัน",
"successRedirect": "รีเซ็ตรหัสผ่านสำเร็จ กำลังไปหน้าเข้าสู่ระบบ...",
"failed": "รีเซ็ตรหัสผ่านล้มเหลว",
"invalidLink": "ลิงก์รีเซ็ตไม่ถูกต้อง โปรดขอรีเซ็ตรหัสผ่านใหม่",
"tokenInvalid": "ลิงก์หมดอายุหรือถูกใช้แล้ว โปรดขอลิงก์ใหม่จากหน้าเข้าสู่ระบบ"
}
}
+7
View File
@@ -17,5 +17,12 @@
"info": "แจ้งเตือน",
"warning": "คำเตือน",
"error": "ข้อผิดพลาด"
},
"pagination": {
"summary": "ทั้งหมด {total} รายการ, หน้า {page} / {pages}",
"perPage": "ต่อหน้า",
"itemsUnit": "รายการ",
"prevPage": "ก่อนหน้า",
"nextPage": "ถัดไป"
}
}
+6 -1
View File
@@ -18,6 +18,11 @@
"USER_PHONE_EXISTS": "หมายเลขโทรศัพท์นี้มีอยู่แล้ว",
"USER_UNIQUENESS_CONFLICT": "ข้อมูลซ้ำกัน",
"SYSTEM_INTERNAL_ERROR": "เซิร์ฟเวอร์ขัดข้อง กรุณาลองใหม่ภายหลัง",
"SYSTEM_HTTP_ERROR": "คำขอล้มเหลว"
"SYSTEM_HTTP_ERROR": "คำขอล้มเหลว",
"WECOM_RESET_NOT_CONFIGURED": "ยังไม่ได้ตั้งค่าการรีเซ็ตรหัสผ่านผ่าน WeCom โปรดเปิดใช้งานและกรอก Corp ID, Agent ID, Secret ใน Admin → WeCom → System Settings",
"WECOM_NOTIFY_DISABLED": "การแจ้งเตือน WeCom ถูกปิด โปรดเปิดใน Admin → WeCom → Notify Settings",
"WECOM_RESET_URL_NOT_CONFIGURED": "ยังไม่ได้ตั้งค่า Public Base URL โปรดกรอก WECOM_PUBLIC_BASE_URL ในการตั้งค่าระบบ",
"AUTH_PASSWORD_RESET_RATE_LIMITED": "คำขอถี่เกินไป โปรดลองอีกครั้งในภายหลัง",
"AUTH_RESET_TOKEN_INVALID": "ลิงก์รีเซ็ตหมดอายุหรือใช้แล้ว โปรดขอรีเซ็ตรหัสผ่านใหม่"
}
}
+45 -2
View File
@@ -238,8 +238,50 @@
}
},
"wecom": {
"title": "企业微信绑定管理",
"subtitle": "手动绑定/解绑企业微信账号,并查看登录审计记录",
"title": "企业微信",
"subtitle": "配置企微集成、同步 userid、管理绑定与登录审计",
"nav": {
"settings": "系统配置",
"bindings": "绑定管理",
"audits": "登录审计"
},
"overview": {
"bound": "已绑定 userid",
"unbound": "未绑定",
"boundRate": "绑定率",
"hint": "找回密码",
"hintDesc": "未绑定 wecom_userid 的用户无法接收企微重置链接"
},
"sync": {
"title": "通讯录同步",
"desc": "从企业微信通讯录按工号回填 users.wecom_userid,用于找回密码与通知触达。",
"permissionNote": "需在企微后台为自建应用开通「通讯录读」与「发送应用消息」权限。",
"employeeIdSource": "当前工号来源",
"departmentId": "根部门 ID(可选)",
"departmentIdPlaceholder": "留空表示全部部门",
"preview": "预览同步",
"apply": "确认写入",
"previewDone": "预览完成,请确认结果后再写入",
"previewFailed": "预览同步失败",
"previewFirst": "请先预览同步结果",
"conflictsBlockApply": "存在冲突,请先人工处理后再写入",
"nothingToUpdate": "没有需要更新的绑定",
"applyConfirm": "确认将 {count} 条 userid 绑定写入数据库?",
"applyDone": "已成功更新 {count} 条绑定",
"applyFailed": "写入同步结果失败",
"invalidDepartmentId": "部门 ID 必须为正整数",
"previewTruncated": "仅展示前 20 条,共 {total} 条待更新",
"conflictsTitle": "冲突明细",
"occupiedBy": "userid 已被用户 {user} 占用",
"stats": {
"wecomUsers": "企微成员",
"localMatched": "本地匹配",
"wouldUpdate": "待更新",
"conflicts": "冲突"
}
},
"bindingsHint": "未绑定 wecom_userid 的用户无法使用企微找回密码;可先运行通讯录同步或手动绑定。",
"searchBindings": "搜索用户名、姓名、工号或 wecom_userid",
"systemSettings": "企业微信系统配置",
"integrationCopyTitle": "企微后台复制助手",
"integrationCopyDesc": "以下字段可直接复制到企业微信管理后台对应配置项。",
@@ -324,6 +366,7 @@
},
"headers": {
"user": "用户",
"employeeId": "工号",
"roleStatus": "角色/状态",
"wecomUserId": "WeCom UserId",
"unionId": "UnionId",
+23 -3
View File
@@ -30,11 +30,14 @@
"dbConnectionFailed": "数据库连接失败,请检查数据库服务是否运行。",
"internalError": "服务器内部错误,请稍后重试。",
"rememberMe": "30天内免登录",
"forgotPasswordDesc": "输入您的邮箱以重置密码",
"forgotPasswordDesc": "输入工号和用户名,重置链接将发送到您的企业微信",
"findPassword": "找回密码",
"announcements": "公告",
"passwordResetEmailSent": "如果账号存在,重置链接已发送到您的邮箱。",
"employeeIdRequired": "请输入工号",
"passwordResetWecomSent": "若账号存在且已绑定企业微信,重置链接已发送到您的企业微信。",
"passwordResetEmailSent": "若账号存在,重置链接已发送到您的邮箱。",
"passwordResetRequestFailed": "请求密码重置失败",
"passwordResetRateLimited": "操作过于频繁,请 {minutes} 分钟后再试",
"announcements": "公告",
"casdoorLogin": "Casdoor 登录",
"casdoorErrors": {
"invalidCredentials": "用户名或密码错误",
@@ -160,5 +163,22 @@
"employeeId": "工号",
"phone": "手机号"
}
},
"resetPassword": {
"title": "重置密码",
"desc": "请在下方输入新密码",
"newPassword": "新密码",
"confirmPassword": "确认密码",
"newPasswordPlaceholder": "请输入新密码",
"confirmPasswordPlaceholder": "请再次输入新密码",
"submit": "重置密码",
"submitting": "正在重置...",
"backToLogin": "返回登录",
"fillAllFields": "请填写所有字段",
"passwordMismatch": "两次输入的密码不一致",
"successRedirect": "密码重置成功,即将跳转到登录页...",
"failed": "密码重置失败",
"invalidLink": "重置链接无效或缺少 token,请重新申请找回密码",
"tokenInvalid": "链接已失效或已过期(可能已使用过或重新申请过),请回到登录页重新发起找回密码"
}
}
+7
View File
@@ -17,5 +17,12 @@
"info": "提示",
"warning": "警告",
"error": "错误"
},
"pagination": {
"summary": "共 {total} 条,当前第 {page} / {pages} 页",
"perPage": "每页",
"itemsUnit": "条",
"prevPage": "上一页",
"nextPage": "下一页"
}
}
+6 -1
View File
@@ -18,6 +18,11 @@
"USER_PHONE_EXISTS": "手机号已存在。",
"USER_UNIQUENESS_CONFLICT": "数据唯一性冲突。",
"SYSTEM_INTERNAL_ERROR": "服务器内部错误,请稍后重试。",
"SYSTEM_HTTP_ERROR": "请求失败。"
"SYSTEM_HTTP_ERROR": "请求失败。",
"WECOM_RESET_NOT_CONFIGURED": "企微找回密码未配置,请在管理端「企业微信 → 系统配置」开启企微并填写 Corp ID、Agent ID、Secret。",
"WECOM_NOTIFY_DISABLED": "企微通知已关闭,请在管理端「企业微信 → 通知设置」开启。",
"WECOM_RESET_URL_NOT_CONFIGURED": "未配置公网访问地址,请在系统配置中填写公网基地址(WECOM_PUBLIC_BASE_URL)。",
"AUTH_PASSWORD_RESET_RATE_LIMITED": "操作过于频繁,请稍后再试。",
"AUTH_RESET_TOKEN_INVALID": "重置链接已失效或已过期,请重新申请找回密码"
}
}
+45 -2
View File
@@ -237,8 +237,50 @@
}
},
"wecom": {
"title": "企業微信綁定管理",
"subtitle": "手動綁定/解綁企業微信帳號,並查看登入審計記錄",
"title": "企業微信",
"subtitle": "配置企微整合、同步 userid、管理綁定與登入審計",
"nav": {
"settings": "系統配置",
"bindings": "綁定管理",
"audits": "登入審計"
},
"overview": {
"bound": "已綁定 userid",
"unbound": "未綁定",
"boundRate": "綁定率",
"hint": "找回密碼",
"hintDesc": "未綁定 wecom_userid 的用戶無法接收企微重設連結"
},
"sync": {
"title": "通訊錄同步",
"desc": "從企業微信通訊錄按工號回填 users.wecom_userid。",
"permissionNote": "需在企微後台開通「通訊錄讀」與「發送應用消息」權限。",
"employeeIdSource": "當前工號來源",
"departmentId": "根部門 ID(可選)",
"departmentIdPlaceholder": "留空表示全部部門",
"preview": "預覽同步",
"apply": "確認寫入",
"previewDone": "預覽完成,請確認結果後再寫入",
"previewFailed": "預覽同步失敗",
"previewFirst": "請先預覽同步結果",
"conflictsBlockApply": "存在衝突,請先人工處理後再寫入",
"nothingToUpdate": "沒有需要更新的綁定",
"applyConfirm": "確認將 {count} 條 userid 綁定寫入資料庫?",
"applyDone": "已成功更新 {count} 條綁定",
"applyFailed": "寫入同步結果失敗",
"invalidDepartmentId": "部門 ID 必須為正整數",
"previewTruncated": "僅展示前 20 條,共 {total} 條待更新",
"conflictsTitle": "衝突明細",
"occupiedBy": "userid 已被用戶 {user} 占用",
"stats": {
"wecomUsers": "企微成員",
"localMatched": "本地匹配",
"wouldUpdate": "待更新",
"conflicts": "衝突"
}
},
"bindingsHint": "未綁定 wecom_userid 的用戶無法使用企微找回密碼;可先執行通訊錄同步或手動綁定。",
"searchBindings": "搜尋用戶名、姓名、工號或 wecom_userid",
"systemSettings": "企業微信系統配置",
"integrationCopyTitle": "企微後台複製助手",
"integrationCopyDesc": "以下字段可直接複製到企業微信管理後台對應配置項。",
@@ -328,6 +370,7 @@
},
"headers": {
"user": "用戶",
"employeeId": "工號",
"roleStatus": "角色/狀態",
"wecomUserId": "WeCom UserId",
"unionId": "UnionId",
+28 -2
View File
@@ -22,8 +22,12 @@
"forgotPassword": "忘記密碼?",
"rememberMe": "30天內免登入",
"announcements": "公告",
"forgotPasswordDesc": "輸入您的郵箱以重設密碼",
"forgotPasswordDesc": "輸入工號與用戶名,重設連結將發送到您的企業微信",
"findPassword": "找回密碼",
"employeeIdRequired": "請輸入工號",
"passwordResetWecomSent": "若帳號存在且已綁定企業微信,重設連結已發送到您的企業微信。",
"passwordResetRequestFailed": "請求密碼重設失敗",
"passwordResetRateLimited": "操作過於頻繁,請 {minutes} 分鐘後再試",
"casdoorLogin": "Casdoor 登入",
"casdoorErrors": {
"invalidCredentials": "用戶名或密碼錯誤",
@@ -143,6 +147,28 @@
"success": "註冊申請已提交,請等待管理員審批",
"failed": "註冊失敗",
"inputError": "請輸入用戶名和密碼",
"requestFailed": "請求失敗"
"requestFailed": "請求失敗",
"fields": {
"realName": "真實姓名",
"employeeId": "工號",
"phone": "手機號"
}
},
"resetPassword": {
"title": "重設密碼",
"desc": "請在下方輸入新密碼",
"newPassword": "新密碼",
"confirmPassword": "確認密碼",
"newPasswordPlaceholder": "請輸入新密碼",
"confirmPasswordPlaceholder": "請再次輸入新密碼",
"submit": "重設密碼",
"submitting": "正在重設...",
"backToLogin": "返回登入",
"fillAllFields": "請填寫所有欄位",
"passwordMismatch": "兩次輸入的密碼不一致",
"successRedirect": "密碼重設成功,即將跳轉到登入頁...",
"failed": "密碼重設失敗",
"invalidLink": "重設連結無效或缺少 token,請重新申請找回密碼",
"tokenInvalid": "連結已失效或已過期(可能已使用過或重新申請過),請回到登入頁重新發起找回密碼"
}
}
+7
View File
@@ -17,5 +17,12 @@
"info": "提示",
"warning": "警告",
"error": "錯誤"
},
"pagination": {
"summary": "共 {total} 條,當前第 {page} / {pages} 頁",
"perPage": "每頁",
"itemsUnit": "條",
"prevPage": "上一頁",
"nextPage": "下一頁"
}
}
+6 -1
View File
@@ -18,6 +18,11 @@
"USER_PHONE_EXISTS": "手機號已存在。",
"USER_UNIQUENESS_CONFLICT": "數據唯一性衝突。",
"SYSTEM_INTERNAL_ERROR": "伺服器內部錯誤,請稍後重試。",
"SYSTEM_HTTP_ERROR": "請求失敗。"
"SYSTEM_HTTP_ERROR": "請求失敗。",
"WECOM_RESET_NOT_CONFIGURED": "企微找回密碼未配置,請在管理端「企業微信 → 系統配置」開啟企微並填寫 Corp ID、Agent ID、Secret。",
"WECOM_NOTIFY_DISABLED": "企微通知已關閉,請在管理端「企業微信 → 通知設定」開啟。",
"WECOM_RESET_URL_NOT_CONFIGURED": "未配置公網訪問地址,請在系統配置中填寫公網基地址(WECOM_PUBLIC_BASE_URL)。",
"AUTH_PASSWORD_RESET_RATE_LIMITED": "操作過於頻繁,請稍後再試。",
"AUTH_RESET_TOKEN_INVALID": "重設連結已失效或已過期,請重新申請找回密碼"
}
}