代码修改
parent
1e2fa384ca
commit
e0eef44c8f
|
@ -635,8 +635,8 @@ namespace IRaCIS.Application.Services
|
|||
|
||||
if (failCount >= maxFailures)
|
||||
{
|
||||
|
||||
string error = $"The password has been entered incorrectly {maxFailures} times consecutively. Your account has been locked and you are required to wait for {lockoutMinutes} minutes before attempting to log in again.";
|
||||
string error = $"The password has been entered incorrectly for {maxFailures} times. The current account has been restricted from logging in. Please wait {lockoutMinutes} minutes and try again.";
|
||||
|
||||
|
||||
//$"密码连续错误{maxFailures}次,当前账号已被限制登录,请等待 {lockoutMinutes} 分钟后再试。"
|
||||
throw new BusinessValidationFailedException(error);
|
||||
|
|
Loading…
Reference in New Issue