[PR #1304] [CLOSED] fix: signup with emailAndPassword email is required #1303 #11990

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/1304
Author: @okxiaoliang4
Created: 1/30/2025
Status: Closed

Base: mainHead: fix/signup-with-email-and-password


📝 Commits (1)

📊 Changes

1 file changed (+4 additions, -1 deletions)

View changed files

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

📄 Description

This pull request includes an important change to the signUpEmail function in the sign-up.ts file to ensure that the user's email is included in the additional data parsed from the user input.

fixed: #1303


🔄 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/1304 **Author:** [@okxiaoliang4](https://github.com/okxiaoliang4) **Created:** 1/30/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/signup-with-email-and-password` --- ### 📝 Commits (1) - [`bf96e6c`](https://github.com/better-auth/better-auth/commit/bf96e6c595e238b7fccb60864ef237b2b9852eb4) fix: signup with `emailAndPassword` email is required #1303 ### 📊 Changes **1 file changed** (+4 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/api/routes/sign-up.ts` (+4 -1) </details> ### 📄 Description This pull request includes an important change to the `signUpEmail` function in the `sign-up.ts` file to ensure that the user's email is included in the additional data parsed from the user input. * [`packages/better-auth/src/api/routes/sign-up.ts`](diffhunk://#diff-c09cb9d90924e06f627b1816c6b13a4992d71cb088478cfa46a09331a9ecb490L144-R147): Modified the `parseUserInput` call to include the `email` field along with `additionalFields` to ensure that the email is part of the additional data. fixed: #1303 --- <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:06:45 -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#11990