Skip to content

LG-10205: Don't rate limit users on their last attempt#8727

Merged
amirbey merged 10 commits intomainfrom
amirbey/LG-10205-rate-limit
Jul 10, 2023
Merged

LG-10205: Don't rate limit users on their last attempt#8727
amirbey merged 10 commits intomainfrom
amirbey/LG-10205-rate-limit

Conversation

@amirbey
Copy link
Contributor

@amirbey amirbey commented Jul 6, 2023

🎫 Ticket

LG-10205

🛠 Summary of changes

On the final attempt, process the GPO Verification submission instead of immediately failing.
On the final attempt, process the HybridHandoff send link submission instead of immediately failing.

📜 Testing Plan

Automated testing

Manually:

GPO Code:

  • Request verify by mail
  • Submit incorrect code for 2 attempts
  • Submit correct code on final attempt successfully
  • Verify personal key is shown

HybridHandoff

@amirbey amirbey changed the title check throttled before increment for gpo LG-10205: Don't rate limit users on their last gpo/send link attempt Jul 7, 2023
@amirbey amirbey changed the title LG-10205: Don't rate limit users on their last gpo/send link attempt LG-10205: Don't rate limit users on their last attempt Jul 7, 2023
@amirbey amirbey self-assigned this Jul 7, 2023
@amirbey amirbey requested a review from a team July 7, 2023 20:17
@amirbey amirbey marked this pull request as ready for review July 7, 2023 20:32
Copy link
Contributor

@soniaconnolly soniaconnolly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Tried it out and it worked as expected.

@amirbey amirbey force-pushed the amirbey/LG-10205-rate-limit branch from 7c0c2f1 to 9ecd1fb Compare July 10, 2023 16:16
@amirbey amirbey merged commit f14b065 into main Jul 10, 2023
@amirbey amirbey deleted the amirbey/LG-10205-rate-limit branch July 10, 2023 17:16
This was referenced Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants