You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 20, 2018. It is now read-only.
When RequiredLength is lower than 6, the register form always shows "The Password must be at least 6 characters long.".
Is RequiredLength higher than 6, and the input lenght between 6 and the defined number (12), I get "Passwords must be at least 12 characters.", is the input lenght lower than 6 the form shows the error from above.
The text was updated successfully, but these errors were encountered:
The data validation attributes in templates cannot easily share identity configuration. Since the template hardcodes a required length of 6 by default. It needs to be manually changed to match whatever the new required length is to match identity.
I used ASP.NET 5 MVC 6 (1.0.0-rc1-update1) "Web Application" Template with "Individual User Accounts" and changed default password requirements to:
options.Password.RequireDigit = false; options.Password.RequireLowercase = false; options.Password.RequireUppercase = false; options.Password.RequireNonLetterOrDigit = false; options.Password.RequiredLength = 12;
Everything works fine, except RequiredLength.
The text was updated successfully, but these errors were encountered: