[PR #2256] [CLOSED] fix(username): username empty field on update guard #29832

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/2256
Author: @Kinfe123
Created: 4/13/2025
Status: Closed

Base: mainHead: fix/username-empty-field-on-update-guard


📝 Commits (5)

📊 Changes

3 files changed (+18 additions, -4 deletions)

View changed files

📝 packages/better-auth/src/plugins/username/error-codes.ts (+1 -0)
📝 packages/better-auth/src/plugins/username/index.ts (+6 -4)
📝 packages/better-auth/src/plugins/username/username.test.ts (+11 -0)

📄 Description

close #2242


🔄 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/2256 **Author:** [@Kinfe123](https://github.com/Kinfe123) **Created:** 4/13/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/username-empty-field-on-update-guard` --- ### 📝 Commits (5) - [`526b639`](https://github.com/better-auth/better-auth/commit/526b639838e5aaed43ae3742bae16cffe2960893) fix: username empty field on update guard - [`32eb396`](https://github.com/better-auth/better-auth/commit/32eb3960db8fbc17aa813343124ca0f5e5671193) fix: with the code error - [`0a8d150`](https://github.com/better-auth/better-auth/commit/0a8d150b14aa955ba33b9c402668fdbf24e5db06) lint and other - [`a750b3b`](https://github.com/better-auth/better-auth/commit/a750b3b5d3434153651acd3606b61ff9603c4ad2) unnecessary checks - [`ce60ce4`](https://github.com/better-auth/better-auth/commit/ce60ce4c36bfcd4c1b7f5f0f8f3a823df8e93565) unnecessary bound ### 📊 Changes **3 files changed** (+18 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/plugins/username/error-codes.ts` (+1 -0) 📝 `packages/better-auth/src/plugins/username/index.ts` (+6 -4) 📝 `packages/better-auth/src/plugins/username/username.test.ts` (+11 -0) </details> ### 📄 Description close #2242 --- <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:05:18 -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#29832