[PR #3730] [MERGED] revert "fix(api-key): is-username-available endpoint should also validate usernames" #13224

Closed
opened 2026-04-13 08:49:52 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/3730
Author: @Bekacru
Created: 8/1/2025
Status: Merged
Merged: 8/1/2025
Merged by: @Bekacru

Base: mainHead: revert-3680-fix/api-key/username-availability-should-validate-it


📝 Commits (1)

  • d7e9e22 Revert "fix(username): isUsernameAvailable should validate usernames (#3680)"

📊 Changes

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

View changed files

.changeset/wild-pianos-join.md (+0 -5)
📝 packages/better-auth/src/plugins/username/index.ts (+0 -24)

📄 Description

Summary by cubic

Reverted the recent change that added username validation to the isUsernameAvailable endpoint. The endpoint no longer checks username length or format.


🔄 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/3730 **Author:** [@Bekacru](https://github.com/Bekacru) **Created:** 8/1/2025 **Status:** ✅ Merged **Merged:** 8/1/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `revert-3680-fix/api-key/username-availability-should-validate-it` --- ### 📝 Commits (1) - [`d7e9e22`](https://github.com/better-auth/better-auth/commit/d7e9e22a68eba3cc89437aa997babbc3cbadc8a3) Revert "fix(username): `isUsernameAvailable` should validate usernames (#3680)" ### 📊 Changes **2 files changed** (+0 additions, -29 deletions) <details> <summary>View changed files</summary> ➖ `.changeset/wild-pianos-join.md` (+0 -5) 📝 `packages/better-auth/src/plugins/username/index.ts` (+0 -24) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Reverted the recent change that added username validation to the isUsernameAvailable endpoint. The endpoint no longer checks username length or format. <!-- 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 08:49:52 -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#13224