fix: correct verification request expiry logic in Login by lakhansamani · Pull Request #492 · authorizerdev/authorizer

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@lakhansamani

Copy link Copy Markdown

Contributor

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

The 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 lakhansamani merged commit 841eb62 into main

Mar 1, 2026

@lakhansamani lakhansamani deleted the fix/login-verification-expiry-logic branch

March 1, 2026 07:15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Login verification request expiry logic is inverted

1 participant

@lakhansamani