anything-llm
anything-llm copied to clipboard
feat: Allow email addresses as usernames
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 lintfrom the root of the repo & committed changes - [x] I have tested my code functionality