-
Notifications
You must be signed in to change notification settings - Fork 0
Feature/email verification #37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 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
a32847a to
ab26a41
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.