Backend: - password.service.ts: resetPassword 补齐验证码暴力破解防护, 输错时累计 attempts,超过 5 次拒绝,与 loginBySms 逻辑一致 Frontend (forgot_password_page.dart): - 发送验证码错误消息改为提取真实 message,不再显示原始异常类名 - 重置密码错误消息同上处理 - 新增 _sendingSms 标志,发送请求期间禁用按钮,防止重复发短信 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| pages | ||
| providers | ||
| widgets | ||