连续失败目前,我使用Asp.net核心1.1,EF核心& Asp.net核心身份在我的系统。 我在startup.cs
类的密码策略下面有一个配置。如何禁用帐户如果用户登录失败Asp.Net核心身份
当用户连续登录失败时,是否有配置禁用帐户?
services.Configure<IdentityOptions>(options =>
{
// Password settings
options.Password.RequireDigit = true;
options.Password.RequiredLength = 6;
options.Password.RequireNonAlphanumeric = true;
options.Password.RequireUppercase = true;
options.Password.RequireLowercase = true;
}