-
Notifications
You must be signed in to change notification settings - Fork 478
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update username validation on useradd #7134
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
✅ Deploy Preview for care-egov-staging ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Passing run #2072 ↗︎
Details:
Review all test suite changes for PR #7134 ↗︎ |
Hi, This pr has been automatically marked as stale because it has not had any recent activity. It will be automatically closed if no further activity occurs for 7 more days. Thank you for your contributions. |
👋 Hi, @sainak, This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there. |
LGTM |
@sainak We truly appreciate your efforts. Thank you for taking the time to contribute; this is a very valuable contribution to us 🥇. We always welcome your contribution 🙂, so feel free to contribute to anything anytime, and never lose that spirit of innovation 🙌. |
This pull request updates the username validation on the useradd feature. The changes include:
Updating the regular expression pattern for username validation to allow usernames with 4-16 characters.
Adding additional validation rules to ensure that usernames only contain lowercase letters, digits, and . _ - characters.
Ensuring that usernames start and end with a letter or number.
Preventing consecutive special characters . _ - in usernames.
fixes #7115
related but not dependent on ohcnetwork/care#1865