[PR #5905] [MERGED] docs: update username docs to include enabling emailAndPassword #6311

Closed
opened 2026-03-13 12:54:24 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

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

Base: canaryHead: dmmulroy/update-username-plugin-docs


📝 Commits (1)

📊 Changes

1 file changed (+34 additions, -10 deletions)

View changed files

📝 docs/content/docs/plugins/username.mdx (+34 -10)

📄 Description

Summary by cubic

Clarified username plugin setup by adding emailAndPassword: { enabled: true } to server config in all examples and highlighting plugin usage. This makes it clear that username support requires email/password auth to be enabled.

Written for commit d50f72202e. 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/5905 **Author:** [@dmmulroy](https://github.com/dmmulroy) **Created:** 11/11/2025 **Status:** ✅ Merged **Merged:** 11/11/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `dmmulroy/update-username-plugin-docs` --- ### 📝 Commits (1) - [`d50f722`](https://github.com/better-auth/better-auth/commit/d50f72202e5807b1b379a84141b42a862fba90ba) Update username docs ### 📊 Changes **1 file changed** (+34 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/plugins/username.mdx` (+34 -10) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Clarified username plugin setup by adding `emailAndPassword: { enabled: true }` to server config in all examples and highlighting plugin usage. This makes it clear that username support requires email/password auth to be enabled. <sup>Written for commit d50f72202e5807b1b379a84141b42a862fba90ba. 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-03-13 12:54: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#6311