无关风月
2025-01-15 5885f4a35d6d42ae47247b39644c0213dc1fb5b6
ruoyi-auth/src/main/java/com/ruoyi/auth/service/SysPasswordService.java
@@ -64,6 +64,7 @@
            redisService.setCacheObject(getCacheKey(username), retryCount, lockTime, TimeUnit.MINUTES);
            throw new ServiceException("密码错误");
        }
//        if (!user.getPassword().equals(password)){
//            retryCount = retryCount + 1;
//            recordLogService.recordLogininfor(request, user.getUserId().intValue(), username, Constants.LOGIN_FAIL_STATUS, String.format("密码输入错误%s次", retryCount));