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

Closed
opened 2026-04-13 09:29:41 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/better-auth/better-auth/pull/5796

State: closed
Merged: Yes


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.

**Original Pull Request:** https://github.com/better-auth/better-auth/pull/5796 **State:** closed **Merged:** Yes --- 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. -->
GiteaMirror added the pull-request label 2026-04-13 09:29:41 -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#14477