We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Username regex failure does not explain what exactly is wrong. For example this config which users do not see fails on first capital case letter:
USERNAME_REGEX="^[a-z][a-zA-Z0-9\._-]{1,32}$"
Message is username is invalid.
Unless there is a library to explain regex failures which is user friendly probably the simplest thing is to add another field:
USERNAME_REGEX_MESSAGE="should start with lower case letter; contain only letters, numbers, dot, underscore or dash; be less than 32 characters"
The text was updated successfully, but these errors were encountered:
Hi. Yes, that's a good idea. I'll add that in the next release.
Sorry, something went wrong.
No branches or pull requests
Username regex failure does not explain what exactly is wrong.
For example this config which users do not see fails on first capital case letter:
Message is username is invalid.
Unless there is a library to explain regex failures which is user friendly probably the simplest thing is to add another field:
The text was updated successfully, but these errors were encountered: