无关风月
2025-01-15 d20a4aade6f9ed5111b496ac9abdff9f05f81535
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));