feat: 完善鉴权和密码功能,添加飞书通知模块
- 完善Token过期/不存在时跳转登录重新认证 - 实现正常的账号密码登录验证(邮箱/手机号+密码) - 用户初始化密码设为工号(sn) - 添加修改密码功能(API+前端页面) - 修复扫码登录后跳转问题(zustand persist格式) - 创建飞书通知服务 FeishuNotificationService - 设置页面添加修改密码入口 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -113,7 +113,23 @@
|
||||
"language": "Idioma",
|
||||
"switchCompany": "Cambiar Empresa",
|
||||
"notifications": "Notificaciones",
|
||||
"security": "Seguridad"
|
||||
"security": "Seguridad",
|
||||
"changePassword": "Cambiar Contraseña"
|
||||
},
|
||||
"changePassword": {
|
||||
"title": "Cambiar Contraseña",
|
||||
"oldPassword": "Contraseña Actual",
|
||||
"newPassword": "Nueva Contraseña",
|
||||
"confirmPassword": "Confirmar Contraseña",
|
||||
"oldPasswordPlaceholder": "Ingrese la contraseña actual",
|
||||
"newPasswordPlaceholder": "Ingrese la nueva contraseña (mínimo 6 caracteres)",
|
||||
"confirmPasswordPlaceholder": "Ingrese la nueva contraseña nuevamente",
|
||||
"submit": "Confirmar",
|
||||
"success": "Contraseña cambiada exitosamente",
|
||||
"oldPasswordError": "La contraseña actual es incorrecta",
|
||||
"passwordMismatch": "Las contraseñas no coinciden",
|
||||
"passwordTooShort": "La nueva contraseña debe tener al menos 6 caracteres",
|
||||
"fillAllFields": "Por favor complete todos los campos"
|
||||
},
|
||||
"login": {
|
||||
"title": "Iniciar Sesión",
|
||||
@@ -125,9 +141,8 @@
|
||||
"loginFailed": "Error de inicio de sesión"
|
||||
},
|
||||
"settings": {
|
||||
"language": "Idioma",
|
||||
"theme": "Tema",
|
||||
"notifications": "Notificaciones"
|
||||
"title": "Configuración",
|
||||
"language": "Idioma"
|
||||
},
|
||||
"error": {
|
||||
"networkError": "Error de red, inténtelo más tarde",
|
||||
|
||||
Reference in New Issue
Block a user