[PR #7409] [MERGED] fix: allow empty name on email sign-up #7292

Closed
opened 2026-03-13 13:30:57 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/7409
Author: @jslno
Created: 1/16/2026
Status: Merged
Merged: 1/16/2026
Merged by: @himself65

Base: canaryHead: 01-16-2026/sign-up-empty-name


📝 Commits (3)

  • c6daa6e fix: allow empty name on email sign-up
  • 83fa255 Merge branch 'canary' into 01-16-2026/sign-up-empty-name
  • 5c153fe chore: add test

📊 Changes

2 files changed (+18 additions, -1 deletions)

View changed files

📝 packages/better-auth/src/api/routes/sign-up.test.ts (+17 -0)
📝 packages/better-auth/src/api/routes/sign-up.ts (+1 -1)

📄 Description

Related: https://github.com/better-auth/better-auth/pull/6744#issuecomment-3759181612


Summary by cubic

Allow blank name on email sign-up to prevent unnecessary validation failures. Removes the nonempty constraint from the name field in the sign-up schema.

Written for commit 5c153fefaf. 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/7409 **Author:** [@jslno](https://github.com/jslno) **Created:** 1/16/2026 **Status:** ✅ Merged **Merged:** 1/16/2026 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `01-16-2026/sign-up-empty-name` --- ### 📝 Commits (3) - [`c6daa6e`](https://github.com/better-auth/better-auth/commit/c6daa6e46d9ab0bfadfdd28d4dd5846d6b810750) fix: allow empty name on email sign-up - [`83fa255`](https://github.com/better-auth/better-auth/commit/83fa25584e17c193b2cce51133bd3227d93e50f8) Merge branch 'canary' into 01-16-2026/sign-up-empty-name - [`5c153fe`](https://github.com/better-auth/better-auth/commit/5c153fefaf82f00f798d2d6845567ce22c9dfba2) chore: add test ### 📊 Changes **2 files changed** (+18 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/api/routes/sign-up.test.ts` (+17 -0) 📝 `packages/better-auth/src/api/routes/sign-up.ts` (+1 -1) </details> ### 📄 Description Related: https://github.com/better-auth/better-auth/pull/6744#issuecomment-3759181612 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Allow blank name on email sign-up to prevent unnecessary validation failures. Removes the nonempty constraint from the name field in the sign-up schema. <sup>Written for commit 5c153fefaf82f00f798d2d6845567ce22c9dfba2. 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-03-13 13:30:57 -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#7292