[PR #3641] [MERGED] docs: update password change instructions #30531

Closed
opened 2026-04-17 21:35:24 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/3641
Author: @marcellosso
Created: 7/27/2025
Status: Merged
Merged: 7/27/2025
Merged by: @Bekacru

Base: mainHead: docs/update-password-in-email-password


📝 Commits (2)

  • 329b6da docs: update password change instructions
  • 0fb692d docs: add missing requireSession to change-password API method

📊 Changes

2 files changed (+34 additions, -19 deletions)

View changed files

📝 docs/content/docs/authentication/email-password.mdx (+17 -13)
📝 docs/content/docs/concepts/users-accounts.mdx (+17 -6)

📄 Description

Added an <APIMethod> for change-password to both "Email & Password" and "User & Accounts".

"Email & Password":

  • The docs did not display the correct way to update a user's password.

"User & Accounts":

  • The server-side solution was missing; using <APIMethod> resolves this issue.

Summary by cubic

Updated the password change instructions in the docs to show the correct use of the <APIMethod> for changing passwords in both "Email & Password" and "User & Accounts" sections.

  • Docs Update
  • Added clear examples using the /change-password API method.
  • Fixed missing and outdated server-side instructions.

🔄 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/3641 **Author:** [@marcellosso](https://github.com/marcellosso) **Created:** 7/27/2025 **Status:** ✅ Merged **Merged:** 7/27/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `docs/update-password-in-email-password` --- ### 📝 Commits (2) - [`329b6da`](https://github.com/better-auth/better-auth/commit/329b6da516e54d171e11bc70e3bc95843a6233da) docs: update password change instructions - [`0fb692d`](https://github.com/better-auth/better-auth/commit/0fb692dfde4c7330631d0eed49875012027310a1) docs: add missing `requireSession` to change-password API method ### 📊 Changes **2 files changed** (+34 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/authentication/email-password.mdx` (+17 -13) 📝 `docs/content/docs/concepts/users-accounts.mdx` (+17 -6) </details> ### 📄 Description Added an `<APIMethod>` for `change-password` to both "Email & Password" and "User & Accounts". "Email & Password": - The docs did not display the correct way to update a user's password. "User & Accounts": - The server-side solution was missing; using `<APIMethod>` resolves this issue. <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Updated the password change instructions in the docs to show the correct use of the `<APIMethod>` for changing passwords in both "Email & Password" and "User & Accounts" sections. - **Docs Update** - Added clear examples using the `/change-password` API method. - Fixed missing and outdated server-side instructions. <!-- 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-17 21:35:24 -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#30531