[PR #7697] [MERGED] docs: clarify updatePhoneNumber option usage #15744

Closed
opened 2026-04-13 10:12:14 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/7697
Author: @bytaesu
Created: 1/30/2026
Status: Merged
Merged: 1/30/2026
Merged by: @himself65

Base: canaryHead: 2026-01-30/docs/clearer-phone-number-usage


📝 Commits (3)

📊 Changes

1 file changed (+9 additions, -15 deletions)

View changed files

📝 docs/content/docs/plugins/phone-number.mdx (+9 -15)

📄 Description

Note

We don't need that callout since each option already has its own section.


Summary by cubic

Clarifies how to update a logged-in user's phone number in the phone-number plugin docs: updatePhoneNumber is now shown as opt-in (default false) with a clear send OTP → verify example. Removes a redundant callout and simplifies wording to avoid confusion.

Written for commit 00bd05ca8a. Summary will update 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/7697 **Author:** [@bytaesu](https://github.com/bytaesu) **Created:** 1/30/2026 **Status:** ✅ Merged **Merged:** 1/30/2026 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `2026-01-30/docs/clearer-phone-number-usage` --- ### 📝 Commits (3) - [`366ef12`](https://github.com/better-auth/better-auth/commit/366ef12019a71331102742dbfb0785b31353e923) chore: should keep singleton of ctx (#7654) - [`e386caf`](https://github.com/better-auth/better-auth/commit/e386cafbd1b368c102648ef35f0676cf67066800) docs: clarify updatePhoneNumber option usage - [`00bd05c`](https://github.com/better-auth/better-auth/commit/00bd05ca8ad53cab7f2e5267aade169497a65afc) fix: lint ### 📊 Changes **1 file changed** (+9 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/plugins/phone-number.mdx` (+9 -15) </details> ### 📄 Description > [!NOTE] > We don't need that callout since each option already has its own section. - Closes https://github.com/better-auth/better-auth/issues/7694 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Clarifies how to update a logged-in user's phone number in the phone-number plugin docs: updatePhoneNumber is now shown as opt-in (default false) with a clear send OTP → verify example. Removes a redundant callout and simplifies wording to avoid confusion. <sup>Written for commit 00bd05ca8ad53cab7f2e5267aade169497a65afc. Summary will update 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-13 10:12:14 -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#15744