rwadurian/frontend
hailin 761dcb1115 fix(auth): resetPassword 解除锁定 + 登录错误提示优化
Backend:
- password.service.ts: resetPassword 成功后调用 user.unlock(),
  清除 loginFailCount 和 lockedUntil,避免用户改密后仍无法登录

Frontend:
- api_client.dart: 401 响应提取后端真实错误消息,不再丢弃
- auth_remote_datasource.dart: loginWithPassword 直接 rethrow
  已知异常类型,避免二次包装导致消息格式混乱
- login_page.dart: 登录失败按错误类型分类提示:
  · 账户锁定 → AlertDialog + "找回密码"按钮
  · 还有尝试机会 → SnackBar(橙色) + "找回密码"Action
  · 其他错误 → 普通 SnackBar

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-10 19:46:06 -07:00
..
.claude refactor(mpc-system): migrate to party-driven architecture with PartyID-based routing 2025-12-05 08:11:28 -08:00
admin-web fix(admin-web): 推荐树节点「团队预种」显示时减去本人份数 2026-03-03 22:19:05 -08:00
mining-admin-web fix(mining-admin): 审计日志 keyword 搜索、管理员列、详情中文化 2026-03-10 01:27:31 -07:00
mining-app fix(auth): resetPassword 解除锁定 + 登录错误提示优化 2026-03-10 19:46:06 -07:00
mobile-app fix(mobile-app): 初始化遥测时传入已登录用户ID,避免session_start丢失userId 2026-03-05 20:19:57 -08:00
mobile-upgrade fix: add libc6-compat to builder stage for SWC binary 2026-03-03 08:34:46 -08:00
temp_backup refactor(mpc-system): migrate to party-driven architecture with PartyID-based routing 2025-12-05 08:11:28 -08:00
README.MD . 2025-11-25 10:17:37 +08:00

README.MD