[PR #7022] [MERGED] fix: remove duplicate refreshUserSessions calls #7029

Closed
opened 2026-03-13 13:21:46 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/7022
Author: @bytaesu
Created: 12/27/2025
Status: Merged
Merged: 12/29/2025
Merged by: @himself65

Base: canaryHead: 2025-12-27/fix/remove-duplicate-refresh-calls


📝 Commits (1)

  • 24566c8 fix: remove duplicate refreshUserSessions calls

📊 Changes

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

View changed files

📝 packages/better-auth/src/db/internal-adapter.ts (+0 -2)

📄 Description

Summary by cubic

Removed duplicate refreshUserSessions calls in the internal adapter when updating a user and when updating by email. This avoids double session refreshes and reduces unnecessary work.

Written for commit 24566c8fd2. Summary will update automatically on new commits.


🔄 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/7022 **Author:** [@bytaesu](https://github.com/bytaesu) **Created:** 12/27/2025 **Status:** ✅ Merged **Merged:** 12/29/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `2025-12-27/fix/remove-duplicate-refresh-calls` --- ### 📝 Commits (1) - [`24566c8`](https://github.com/better-auth/better-auth/commit/24566c8fd2258aed7fbdc0dbde5c274ee201091d) fix: remove duplicate refreshUserSessions calls ### 📊 Changes **1 file changed** (+0 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/db/internal-adapter.ts` (+0 -2) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Removed duplicate refreshUserSessions calls in the internal adapter when updating a user and when updating by email. This avoids double session refreshes and reduces unnecessary work. <sup>Written for commit 24566c8fd2258aed7fbdc0dbde5c274ee201091d. Summary will update automatically on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <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 13:21:46 -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#7029