[PR #4619] [MERGED] feat: Allow email addresses as usernames #4690

Closed
opened 2026-02-22 18:36:20 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/4619
Author: @nehaaprasad
Created: 11/6/2025
Status: Merged
Merged: 11/19/2025
Merged by: @timothycarambat

Base: masterHead: feat/email-as-username


📝 Commits (2)

  • 47e7142 feat: Allow email addresses as usernames
  • feb509e Merge branch 'master' into feat/email-as-username

📊 Changes

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

View changed files

📝 server/models/user.js (+3 -3)

📄 Description

Pull Request Type

  • feat

Relevant Issues

resolves #4616

What is in this change?

Updated username validation regex to allow email addresses as usernames by permitting @ and other email characters in server/models/user.js.

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • I have tested my code functionality

🔄 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/Mintplex-Labs/anything-llm/pull/4619 **Author:** [@nehaaprasad](https://github.com/nehaaprasad) **Created:** 11/6/2025 **Status:** ✅ Merged **Merged:** 11/19/2025 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `feat/email-as-username` --- ### 📝 Commits (2) - [`47e7142`](https://github.com/Mintplex-Labs/anything-llm/commit/47e71421f84326474233bf805b852f3c8b6c80af) feat: Allow email addresses as usernames - [`feb509e`](https://github.com/Mintplex-Labs/anything-llm/commit/feb509ec1472c4e716f751363b832478c213780c) Merge branch 'master' into feat/email-as-username ### 📊 Changes **1 file changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `server/models/user.js` (+3 -3) </details> ### 📄 Description ### Pull Request Type - [x] ✨ feat ### Relevant Issues resolves #4616 ### What is in this change? Updated username validation regex to allow email addresses as usernames by permitting `@` and other email characters in `server/models/user.js`. ### Developer Validations - [x] I ran `yarn lint` from the root of the repo & committed changes - [x] I have tested my code functionality --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:36:20 -05:00
yindo closed this issue 2026-02-22 18:36:20 -05:00
yindo changed title from [PR #4619] feat: Allow email addresses as usernames to [PR #4619] [MERGED] feat: Allow email addresses as usernames 2026-06-05 15:19:52 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#4690