[PR #460] [MERGED] fix: mark backup codes for one time use #3306

Closed
opened 2026-03-13 10:48:06 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/460
Author: @Bekacru
Created: 11/8/2024
Status: Merged
Merged: 11/8/2024
Merged by: @Bekacru

Base: mainHead: fix/backup-codes


📝 Commits (5)

  • 5455db1 docs: improve rate limit docs
  • f79246c fix: add custom rate-limiting rule for change password and email
  • d2f78b9 docs: update set password
  • c184384 fix: mark backup codes for one time use
  • b3ca30f Merge branch 'main' into fix/backup-codes

📊 Changes

3 files changed (+56 additions, -12 deletions)

View changed files

📝 docs/content/docs/plugins/2fa.mdx (+14 -0)
📝 packages/better-auth/src/plugins/two-factor/backup-codes/index.ts (+35 -12)
📝 packages/better-auth/src/plugins/two-factor/two-factor.test.ts (+7 -0)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/460 **Author:** [@Bekacru](https://github.com/Bekacru) **Created:** 11/8/2024 **Status:** ✅ Merged **Merged:** 11/8/2024 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `fix/backup-codes` --- ### 📝 Commits (5) - [`5455db1`](https://github.com/better-auth/better-auth/commit/5455db1c28194c5f9b22694a8c18575623fd33b6) docs: improve rate limit docs - [`f79246c`](https://github.com/better-auth/better-auth/commit/f79246cb33f15574333a07d46271eb0adabc89f8) fix: add custom rate-limiting rule for change password and email - [`d2f78b9`](https://github.com/better-auth/better-auth/commit/d2f78b9d81eb99eecfec418ea5465fd2b928f043) docs: update set password - [`c184384`](https://github.com/better-auth/better-auth/commit/c184384492291a17567eaaf84a636552c9bd3c03) fix: mark backup codes for one time use - [`b3ca30f`](https://github.com/better-auth/better-auth/commit/b3ca30f2039b6cf711a94079fbf9f64c8f8c12d2) Merge branch 'main' into fix/backup-codes ### 📊 Changes **3 files changed** (+56 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/plugins/2fa.mdx` (+14 -0) 📝 `packages/better-auth/src/plugins/two-factor/backup-codes/index.ts` (+35 -12) 📝 `packages/better-auth/src/plugins/two-factor/two-factor.test.ts` (+7 -0) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 10:48:06 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#3306