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

Add min/max username validation from client info settings #611

Merged
merged 4 commits into from
Sep 19, 2016

Conversation

cristiandouce
Copy link
Contributor

@cristiandouce cristiandouce commented Sep 16, 2016

After the introduction of the new feature for configuring username validation min/max values at Auth0 we required to handle those modifications within the Lock UI. Therefore:

  1. If the validation settings is defined within the client info object, use those parameters (configured from the Dashboard)
  2. If validation settings is missing from within the client info settings, defaults to the current values {min: 1, max: 15}.
  3. No validations are performed for enterprise connections, as it was the previous behavior.

@hzalaz hzalaz merged commit 99a53c3 into master Sep 19, 2016
@hzalaz hzalaz deleted the username-validation branch September 19, 2016 14:35
@hzalaz hzalaz modified the milestone: v10.3.0 Sep 19, 2016
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

Successfully merging this pull request may close these issues.

2 participants