fix/email-verification-implementation-T126#128
fix/email-verification-implementation-T126#128Mantra-17 wants to merge 1 commit intogdg-charusat:mainfrom
Conversation
🔍 General Improvement PR — Pending Admin ReviewHey @Mantra-17! Your PR has been received as a General Improvement PR (no linked issue).
What happens next:
|
|
@Mantra-17 pls fix the description format, add Closes# number also fix the conflicts |
✅ PR Validation PassedHey @Mantra-17! Your PR looks good. Here is what we found:
A maintainer will review your PR within 24–48 hours. Stay responsive to feedback!
|
|
Hey I have updated the description pls check it and let me know |
|
hey @Mantra-17 please resolve the conflicts. your pr is too farther away from main. take a pull from main before committing. |
|
working on it give me some time |
|
Resolved the issues |
|
hey @Mantra-17 your work is still not up to date with main. take a pull from main then merge with your work. |
|
hey @Mantra-17 if we dont get any commit in the next hour, we will close this pr. |
Team Number : Team 126
Description
This PR implements a comprehensive email verification system that prevents users from auto-logging in after registration. The implementation ensures users must verify their email before accessing protected routes, resolving security concerns and improving user authentication flow.
Related Issue
Closes #109
Type of Change
Changes Made
-Registration Flow: Redirects to email verification pending page instead of dashboard
-Login Enhancement: Added 403 error handling for unverified email accounts
-New Page: Created VerifyEmailPending.tsx with clear user instructions
-Route Configuration: Added /verify-email-pending route to App.tsx
-Backend Integration: Proper handling of email verification tokens and status
Testing
Checklist
Additional Notes
This implementation follows security best practices by requiring email verification before granting access. The user flow is designed to be clear and intuitive, with proper error messaging and visual feedback throughout the verification process.