[PR #3231] [MERGED] fix(2fa): incorrect default OTP period & fix incorrect docs #30313

Closed
opened 2026-04-17 21:26:15 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/3231
Author: @ping-maxwell
Created: 7/1/2025
Status: Merged
Merged: 7/1/2025
Merged by: @Bekacru

Base: mainHead: docs/fix-2fa-miss-match


📝 Commits (4)

  • 63d753f docs(2fa): fix incorrect period
  • fd6b7c9 fix: default period is 3 minutes
  • 25ab5ae Update packages/better-auth/src/plugins/two-factor/index.ts
  • f48254b chore: lint

📊 Changes

2 files changed (+4 additions, -4 deletions)

View changed files

📝 docs/content/docs/plugins/2fa.mdx (+3 -3)
📝 packages/better-auth/src/plugins/two-factor/index.ts (+1 -1)

📄 Description

closes https://github.com/better-auth/better-auth/issues/3045


🔄 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/3231 **Author:** [@ping-maxwell](https://github.com/ping-maxwell) **Created:** 7/1/2025 **Status:** ✅ Merged **Merged:** 7/1/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `docs/fix-2fa-miss-match` --- ### 📝 Commits (4) - [`63d753f`](https://github.com/better-auth/better-auth/commit/63d753f9239b59615b3c45d49ff3a085499a6dfc) docs(2fa): fix incorrect period - [`fd6b7c9`](https://github.com/better-auth/better-auth/commit/fd6b7c9648ed829af67276a942ccddaafb49d0db) fix: default period is 3 minutes - [`25ab5ae`](https://github.com/better-auth/better-auth/commit/25ab5ae394b3bc41b4252fa18dc8cfa4b0fa808c) Update packages/better-auth/src/plugins/two-factor/index.ts - [`f48254b`](https://github.com/better-auth/better-auth/commit/f48254b4d553c3ff6cc075ffb123a9545ace5bd9) chore: lint ### 📊 Changes **2 files changed** (+4 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/plugins/2fa.mdx` (+3 -3) 📝 `packages/better-auth/src/plugins/two-factor/index.ts` (+1 -1) </details> ### 📄 Description closes https://github.com/better-auth/better-auth/issues/3045 --- <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-04-17 21:26:15 -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#30313