[PR #1140] [MERGED] Added updatedUser to setCookie on both /two-factor/enable and /two-factor/disable #29252

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/1140
Author: @Scooter1337
Created: 1/4/2025
Status: Merged
Merged: 1/5/2025
Merged by: @Bekacru

Base: mainHead: fix-cookie-two-factor


📝 Commits (1)

  • ca27c63 Added updatedUser to setCookie on both /two-factor/enable and /two-factor/disable

📊 Changes

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

View changed files

📝 packages/better-auth/src/plugins/two-factor/index.ts (+5 -5)

📄 Description

Added updatedUser to setCookie on both /two-factor/enable and /two-factor/disable

Closes #1104


🔄 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/1140 **Author:** [@Scooter1337](https://github.com/Scooter1337) **Created:** 1/4/2025 **Status:** ✅ Merged **Merged:** 1/5/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `fix-cookie-two-factor` --- ### 📝 Commits (1) - [`ca27c63`](https://github.com/better-auth/better-auth/commit/ca27c63caf9e5349e6e6f5ce0f528e9ef425132a) Added updatedUser to setCookie on both /two-factor/enable and /two-factor/disable ### 📊 Changes **1 file changed** (+5 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/plugins/two-factor/index.ts` (+5 -5) </details> ### 📄 Description Added updatedUser to setCookie on both /two-factor/enable and /two-factor/disable Closes #1104 --- <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 20:37:27 -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#29252