1
13693261870
2024-08-28 e6aea5da5e4fabf064f3c268d67b533c8753110c
se-auth/src/main/java/com/se/auth/service/SysPasswordService.java
@@ -16,6 +16,7 @@
 * @author admin
 */
@Component
@SuppressWarnings("ALL")
public class SysPasswordService
{
    @Autowired
@@ -50,12 +51,12 @@
            retryCount = 0;
        }
        if (retryCount >= Integer.valueOf(maxRetryCount).intValue())
        /*if (retryCount >= Integer.valueOf(maxRetryCount).intValue())
        {
            String errMsg = String.format("密码输入错误%s次,帐户锁定%s分钟", maxRetryCount, lockTime);
            recordLogService.recordLogininfor(username, Constants.LOGIN_FAIL,errMsg);
            throw new ServiceException(errMsg);
        }
        }*/
        if (!matches(user, password))
        {