fix: correct verification request expiry logic in Login by lakhansamani · Pull Request #492 · authorizerdev/authorizer
Navigation Menu
{{ message }}
authorizerdev / authorizer Public
- Notifications You must be signed in to change notification settings
- Fork 204
Merged
fix: correct verification request expiry logic in Login#492
lakhansamani merged 4 commits intomainfrom
fix: correct verification request expiry logic in Login#492
lakhansamani merged 4 commits intomainfrom
Conversation
Copy link Copy Markdown
Contributor
lakhansamani
commented
Mar 1, 2026
lakhansamani
commented
Summary
- Fixed inverted expiry check in Login's email verification flow
- Non-expired verification requests now correctly return "email verification pending"
- Expired requests are deleted and re-sent
Test plan
- Verify login with pending (non-expired) verification returns correct error
- Verify login with expired verification re-sends verification
Fixes #481
lakhansamani added 4 commits
March 1, 2026 11:47The expiry check was inverted - non-expired verification requests were being deleted while expired ones blocked the user. Now non-expired requests correctly return 'email verification pending' and expired ones are deleted and re-sent. Fixes #481
lakhansamani
merged commit
841eb62
into
main
lakhansamani
deleted the
fix/login-verification-expiry-logic
branch
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment