Skip to main content
All CollectionsSupport IssuesArchived
Password Requirements for Identity
Password Requirements for Identity

options.User.RequireUniqueEmail = true; options.SignIn.RequireConfirmedEmail = true; options.Password.RequireDigit = true;...

Updated over a month ago

options.User.RequireUniqueEmail = true;
options.SignIn.RequireConfirmedEmail = true;
options.Password.RequireDigit = true;
options.Password.RequiredLength = 8;
options.Password.RequireNonAlphanumeric = true;
options.Password.RequireUppercase = true;
options.Password.RequireLowercase = true;
options.Password.RequiredUniqueChars = 2;
options.Lockout.DefaultLockoutTimeSpan = TimeSpan.FromMinutes(5);
options.Lockout.MaxFailedAccessAttempts = 10;

Did this answer your question?