[PR #1239] [MERGED] feat(organization): leave organization #20610

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/1239
Author: @Bekacru
Created: 1/18/2025
Status: Merged
Merged: 2/14/2025
Merged by: @Bekacru

Base: mainHead: feat/leave-org


📝 Commits (2)

  • 10664cb feat: leave organization
  • 78b3a92 feat(organization): add leave organization functionality and update documentation

📊 Changes

5 files changed (+118 additions, -21 deletions)

View changed files

📝 demo/nextjs/lib/auth-client.ts (+2 -0)
📝 docs/content/docs/plugins/organization.mdx (+10 -0)
📝 packages/better-auth/src/plugins/organization/organization.test.ts (+51 -20)
📝 packages/better-auth/src/plugins/organization/organization.ts (+2 -0)
📝 packages/better-auth/src/plugins/organization/routes/crud-members.ts (+53 -1)

📄 Description

closes #1241


🔄 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/1239 **Author:** [@Bekacru](https://github.com/Bekacru) **Created:** 1/18/2025 **Status:** ✅ Merged **Merged:** 2/14/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `feat/leave-org` --- ### 📝 Commits (2) - [`10664cb`](https://github.com/better-auth/better-auth/commit/10664cb00fafdff98826f9615ddbb34e15214b4f) feat: leave organization - [`78b3a92`](https://github.com/better-auth/better-auth/commit/78b3a929a40ef7dfc48c161bf04410e075d0a593) feat(organization): add leave organization functionality and update documentation ### 📊 Changes **5 files changed** (+118 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `demo/nextjs/lib/auth-client.ts` (+2 -0) 📝 `docs/content/docs/plugins/organization.mdx` (+10 -0) 📝 `packages/better-auth/src/plugins/organization/organization.test.ts` (+51 -20) 📝 `packages/better-auth/src/plugins/organization/organization.ts` (+2 -0) 📝 `packages/better-auth/src/plugins/organization/routes/crud-members.ts` (+53 -1) </details> ### 📄 Description closes #1241 --- <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:48:58 -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#20610