[PR #449] [MERGED] fix: recreate session for 2fa verification #3297

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

📋 Pull Request Information

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

Base: mainHead: feat/session


📝 Commits (2)

📊 Changes

2 files changed (+62 additions, -98 deletions)

View changed files

📝 packages/better-auth/src/plugins/two-factor/index.ts (+5 -3)
📝 packages/better-auth/src/plugins/two-factor/verify-middleware.ts (+57 -95)

📄 Description

closes #348


🔄 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/449 **Author:** [@Bekacru](https://github.com/Bekacru) **Created:** 11/7/2024 **Status:** ✅ Merged **Merged:** 11/7/2024 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `feat/session` --- ### 📝 Commits (2) - [`6013bb2`](https://github.com/better-auth/better-auth/commit/6013bb2d3cd53bd32c29cf9864e0bbce2bc0940d) fix: recrete session on 2fa - [`074dafc`](https://github.com/better-auth/better-auth/commit/074dafc5517390831e557d36fb2e09d640b4d8af) fix: typecheck ### 📊 Changes **2 files changed** (+62 additions, -98 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/plugins/two-factor/index.ts` (+5 -3) 📝 `packages/better-auth/src/plugins/two-factor/verify-middleware.ts` (+57 -95) </details> ### 📄 Description closes #348 --- <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:47:38 -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#3297