Skip to content

Verify and consume backup code in single database transaction#10687

Merged
mitchellhenke merged 1 commit intomainfrom
mitchellhenke/backup-codes-2
May 23, 2024
Merged

Verify and consume backup code in single database transaction#10687
mitchellhenke merged 1 commit intomainfrom
mitchellhenke/backup-codes-2

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 a team and aduth May 23, 2024 14:20
@mitchellhenke mitchellhenke merged commit 268b502 into main May 23, 2024
@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