In Asp.Net MVC 5 using Identity, you could do the following:
manager.PasswordValidator = new PasswordValidator { RequiredLength = 6, RequireLowercase = true, RequireDigit = false, RequireUppercase = false };
How to change the same configuration in MVC 6?
I see that this could be in the ConfigurationServices method in the segment:
services.AddIdentity<ApplicationUser, IdentityRole>() .AddPasswordValidator<>()
But I could not use.
asp.net-mvc asp.net-core asp.net-core-mvc asp.net-identity
Renatto Machado Jun 19 '15 at 15:50 2015-06-19 15:50
source share