Skip to content
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

Verify and consume backup code in single database transaction #10687

Merged
merged 1 commit into from
May 23, 2024

Conversation

mitchellhenke
Copy link
Contributor

🛠 Summary of changes

This PR borrows a bit of the logic from #8118 to improve the performance and reliability of verifying backup codes by wrapping the verification and usage update in a transaction. It was prompted by work in #10686.

changelog: Internal, Performance, Verify and consume backup code in single database transaction
@mitchellhenke mitchellhenke requested review from aduth and a team May 23, 2024 14:20
@mitchellhenke mitchellhenke merged commit 268b502 into main May 23, 2024
2 checks passed
@mitchellhenke mitchellhenke deleted the mitchellhenke/backup-codes-2 branch May 23, 2024 16:12
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