rwadurian/frontend/mining-app/lib/core
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
..
config feat: 2.0 API 域名从 rwaapi.szaiai.com 迁移到 mapi.szaiai.com 2026-02-01 21:58:03 -08:00
constants feat(frontend): 添加全局深色模式支持 2026-01-19 19:08:03 -08:00
di fix(admin): correct distributed shares calculation to use 2M pool 2026-01-16 08:59:46 -08:00
error feat(capability): 实现用户能力权限控制系统(Capability-based Permission) 2026-02-27 22:19:56 -08:00
network fix(auth): resetPassword 解除锁定 + 登录错误提示优化 2026-03-10 19:46:06 -07:00
router feat(mining-app): 完善 telemetry 埋点 - 页面访问 + 用户行为 2026-03-05 09:36:04 -08:00
services feat(notifications): 2.0系统通知弹窗功能(后端+管理端+APP端) 2026-03-02 08:35:16 -08:00
telemetry fix(mining-app): 删除 heartbeat_service 中未声明的 _apiBaseUrl 赋值 2026-03-05 20:36:36 -08:00
updater feat: 2.0 API 域名从 rwaapi.szaiai.com 迁移到 mapi.szaiai.com 2026-02-01 21:58:03 -08:00
utils feat(mining-app): 市场数据3个小数字段显示后端返回的完整精度 2026-03-02 23:58:58 -08:00