[PR #3230] [CLOSED] fix(two-factor): report invalid code error #21612

Closed
opened 2026-04-15 20:29:34 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/3230
Author: @erquhart
Created: 7/1/2025
Status: Closed

Base: mainHead: fix-two-factor-invalid-error


📝 Commits (1)

  • 7e9b7ac fix: report invalid two factor code error

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 packages/better-auth/src/plugins/two-factor/verify-two-factor.ts (+2 -2)

📄 Description

Fixes invalid code being reported as invalid cookie.


🔄 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/3230 **Author:** [@erquhart](https://github.com/erquhart) **Created:** 7/1/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix-two-factor-invalid-error` --- ### 📝 Commits (1) - [`7e9b7ac`](https://github.com/better-auth/better-auth/commit/7e9b7ac8cd643936c1924b7f5797d22cf79bda20) fix: report invalid two factor code error ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/plugins/two-factor/verify-two-factor.ts` (+2 -2) </details> ### 📄 Description Fixes invalid code being reported as invalid cookie. --- <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-15 20:29:34 -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#21612