diff --git a/IRaCIS.Core.Application/Service/Management/UserService.cs b/IRaCIS.Core.Application/Service/Management/UserService.cs index 71c39dc..14c3899 100644 --- a/IRaCIS.Core.Application/Service/Management/UserService.cs +++ b/IRaCIS.Core.Application/Service/Management/UserService.cs @@ -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);