rwadurian/frontend/mining-app/lib/presentation/pages/auth
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
..
change_password_page.dart feat(mining-app): 添加找回密码和修改密码功能 2026-01-11 07:36:56 -08:00
forgot_password_page.dart feat(mining-app): 添加找回密码和修改密码功能 2026-01-11 07:36:56 -08:00
login_page.dart fix(auth): resetPassword 解除锁定 + 登录错误提示优化 2026-03-10 19:46:06 -07:00
register_page.dart refactor(frontend): replace all '榴莲' references with '股行' 2026-01-19 04:33:47 -08:00
trade_password_page.dart feat(trade-password): 实现卖出交易的支付密码验证功能 2026-02-05 18:12:39 -08:00