rwadurian/frontend/mining-app/lib/presentation/pages
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
..
asset feat(mining-app): 接入 capabilitiesProvider 实现 UI 层能力适配 2026-02-28 01:36:24 -08:00
auth fix(auth): resetPassword 解除锁定 + 登录错误提示优化 2026-03-10 19:46:06 -07:00
c2c revert(app): 回滚 C2C 页面的卖出限制 2026-03-04 05:57:24 -08:00
contribution fix(mining-app): 已解锁上 null 时显示 0 2026-03-05 05:41:00 -08:00
profile fix(mining-app): 修复分配记录 distributionMinute 时间仍显示UTC的问题 2026-03-02 21:26:47 -08:00
splash feat(mining-app): 集成 telemetry 遥测功能 2026-03-05 09:29:06 -08:00
trading feat(mining-app): 完善 telemetry 埋点 - 页面访问 + 用户行为 2026-03-05 09:36:04 -08:00