[PR #5796] [MERGED] fix(two-factor): incorrect reference for server only actions #23131

Closed
opened 2026-04-15 21:30:27 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/5796
Author: @okisdev
Created: 11/6/2025
Status: Merged
Merged: 11/6/2025
Merged by: @Bekacru

Base: canaryHead: fix(organziation)/incorrect-comment-for-add-member


📝 Commits (2)

  • 8f9cc8c fix(organziation): incorrect comment-for-add-member
  • 8f7784f fix(organziation): incorrect comment-for-add-member

📊 Changes

2 files changed (+0 additions, -6 deletions)

View changed files

📝 packages/better-auth/src/plugins/organization/organization.ts (+0 -3)
📝 packages/better-auth/src/plugins/two-factor/backup-codes/index.ts (+0 -3)

📄 Description

This PR fixes the reference for addMember, viewBackupCodes endpoint by removing client side comment as it is a server-only action.

This PR fixes #5790


Summary by cubic

Removed incorrect client-side references for organization.addMember and twoFactor.viewBackupCodes, clarifying both are server-only actions. This prevents confusion and aligns inline comments with the docs.

Written for commit 8f7784f472. 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/5796 **Author:** [@okisdev](https://github.com/okisdev) **Created:** 11/6/2025 **Status:** ✅ Merged **Merged:** 11/6/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `fix(organziation)/incorrect-comment-for-add-member` --- ### 📝 Commits (2) - [`8f9cc8c`](https://github.com/better-auth/better-auth/commit/8f9cc8c4cd03e216dfa65a9343e04c627e489037) fix(organziation): incorrect comment-for-add-member - [`8f7784f`](https://github.com/better-auth/better-auth/commit/8f7784f472a1dcfe2fa33b9cb947ce0439e8ba44) fix(organziation): incorrect comment-for-add-member ### 📊 Changes **2 files changed** (+0 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/plugins/organization/organization.ts` (+0 -3) 📝 `packages/better-auth/src/plugins/two-factor/backup-codes/index.ts` (+0 -3) </details> ### 📄 Description This PR fixes the reference for `addMember`, `viewBackupCodes` endpoint by removing client side comment as it is a server-only action. This PR fixes #5790 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Removed incorrect client-side references for organization.addMember and twoFactor.viewBackupCodes, clarifying both are server-only actions. This prevents confusion and aligns inline comments with the docs. <sup>Written for commit 8f7784f472a1dcfe2fa33b9cb947ce0439e8ba44. 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-04-15 21:30: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#23131