Skip to content
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

Username policies #8637

Open
AgostiniAlessandro opened this issue Nov 4, 2022 · 0 comments
Open

Username policies #8637

AgostiniAlessandro opened this issue Nov 4, 2022 · 0 comments
Milestone

Comments

@AgostiniAlessandro
Copy link
Contributor

Currently password policies can be customised with various options (eg minimum length, the presence of at least one special character,...), we want to replicate some of these features for the username, namely adding a minimum and maximum length and forbidding the use of whitespaces and special characters.

For reference this is where the username gets validated:

public bool ValidateUserName(AccountValidationContext context) {

@sebastienros sebastienros added this to the 1.10.x milestone Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants