Skip to content

Conversation

@Lcwei-0708
Copy link
Owner

No description provided.

- Add SMTP configuration to env and Docker setup
- Implement mailer with validation and error handling
- Register SMTP mailer in FastAPI lifecycle
- Add forgot password and reset cooldown endpoints
- Add email template for password reset notifications
- Implement reset and cooldown handling in auth services
- Extend schemas for password reset requests and responses
- Add tests for forgot password flow and SMTP mailer
- Validate cooldown and account status checks
- Update schema tests for reset-related requests and responses
- Replace isGettingToken with tokenRefreshPromise and failedQueue
- Ensure queued requests retry correctly after token refresh
- Reset permissions load state to allow reload after password reset
- Invalidate previous unused reset tokens before issuing a new one
- Fix reset password URL to use the correct authentication path
- Remove redundant password reset requirement check during reset
- Implement forgot password form with email validation and cooldown handling
- Add forgot password and reset password routes to auth flow
- Add SMTP configuration to Docker and environment settings
- Enhance localization for forgot password messages and actions
- Update login and register forms to link to forgot password
- Implement email verification flow for registration and email changes
- Add verify and resend verification email endpoints with cooldown
- Extend user model to track email verification status and pending email
- Add database migrations for email verification tokens
- Enhance SMTP integration and environment settings for verification emails
- Enforce email verification when updating email in user profile
- Return 202 Accepted when profile update requires email verification
- Handle pending email changes and send verification emails
- Add scheduled cleanup for expired email verification records
- Update email templates for consistency
- Block registration and login until email is verified
- Track verification state and pending email changes
- Improve error handling and test coverage for verification flows
- Add email verification form and related UI
- Redirect users to verification page when email verification is required
- Update route guards to allow verification and reset password flows
- Enhance auth state handling for email verification during login and registration
- Update translations for email verification messages
- Set default SMTP host, port, credentials, sender info, and encryption
- Ensure email-related flows work without manual SMTP setup
@Lcwei-0708 Lcwei-0708 force-pushed the feature/email-verification branch from a32847a to ab26a41 Compare January 22, 2026 09:54
@Lcwei-0708 Lcwei-0708 merged commit 088a86d into main Jan 22, 2026
1 check passed
@Lcwei-0708 Lcwei-0708 deleted the feature/email-verification branch January 25, 2026 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants