[PR #597] [MERGED] fix: set active org on secondary storage and cookie cache #20290

Closed
opened 2026-04-15 19:35:43 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

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

Base: mainHead: fix/active-org-id


📝 Commits (1)

  • a1a0d6b fix: set active org on secondary storage and cookie cache

📊 Changes

3 files changed (+16 additions, -14 deletions)

View changed files

📝 packages/better-auth/src/db/internal-adapter.ts (+4 -1)
📝 packages/better-auth/src/plugins/organization/adapter.ts (+3 -12)
📝 packages/better-auth/src/plugins/organization/routes/crud-org.ts (+9 -1)

📄 Description

closes #596


🔄 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/597 **Author:** [@Bekacru](https://github.com/Bekacru) **Created:** 11/19/2024 **Status:** ✅ Merged **Merged:** 11/19/2024 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `fix/active-org-id` --- ### 📝 Commits (1) - [`a1a0d6b`](https://github.com/better-auth/better-auth/commit/a1a0d6b4ce3904deb813e7549568a912383f77f6) fix: set active org on secondary storage and cookie cache ### 📊 Changes **3 files changed** (+16 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/db/internal-adapter.ts` (+4 -1) 📝 `packages/better-auth/src/plugins/organization/adapter.ts` (+3 -12) 📝 `packages/better-auth/src/plugins/organization/routes/crud-org.ts` (+9 -1) </details> ### 📄 Description closes #596 --- <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 19:35:43 -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#20290