Xiaoxia AI
|
e46cda2416
|
feat(auth): add password reset functionality
- Implement RequestPasswordResetUseCase to generate reset token
- Send password reset email with 1-hour expiration
- Implement ResetPasswordUseCase to verify token and update password
- Security: return success even if user not exists (avoid enumeration)
- Validate new password strength before reset
- Clear reset token after successful password change
- Add 9 comprehensive unit tests (all passed)
Phase 4 Task 8/68 completed
|
2026-06-17 01:25:53 +08:00 |
|