无关风月
2025-01-16 ae03a98d0ad317dab9e9263f8f0b03031df4fa6e
ruoyi-auth/src/main/java/com/ruoyi/auth/service/SysPasswordService.java
@@ -64,7 +64,6 @@
            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));