-
Notifications
You must be signed in to change notification settings - Fork 2
Email verification workflow with rate limiting #460
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
base: develop
Are you sure you want to change the base?
Conversation
- Add verification pending page with countdown timer for UX - Implement 60s rate limiting for resend verification emails - Add session management utilities for pending verification state - Handle unverified accounts in custom login flow - Update registration to redirect to pending page instead of login - Set token expiry to 24 hours and add session timeout (15 min) refs: #440
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the final PR Bugbot will review for you during this billing cycle
Your free Bugbot reviews will reset on January 27
Details
You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.
To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.
5b13729 to
65780fe
Compare
65780fe to
8f57cff
Compare
|
Hi @dchiller this is ready for review :) |
refs: #440
Note
Implements an email verification pending workflow with session-based state and 60s resend rate limiting, switches auth templates/paths, adds countdown UI, and updates Playwright tests/config.
verify-email-pending/,resend-verification/, andviews.custom_loginhandling unverified users.RESEND_EMAIL_COOLDOWN, redirect to pending; verification activates account and clears session.utils/rate_limiting.py(cache-based cooldown) andutils/session.py(pending email in session).main/auth/*; update email template text (24h expiry). Add settings:PASSWORD_RESET_TIMEOUT,RESEND_EMAIL_COOLDOWN,PENDING_EMAIL_SESSION_EXPIRY.src/auth/ResendEmailCountdown.tswith Vite entry; pending pageverify_email_pending.htmlintegrates countdown.blockGoogleTranslaterouting; simplify translate tests to asserthtml lang.verify-email-pending/and login after verification.Written by Cursor Bugbot for commit d3742b3. This will update automatically on new commits. Configure here.