代码修改

master
he 2024-12-06 10:03:18 +08:00
parent 1e2fa384ca
commit e0eef44c8f
1 changed files with 2 additions and 2 deletions

View File

@ -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);