ruoyi-system/src/main/java/com/ruoyi/system/service/SysLoginService.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
ruoyi-system/src/main/java/com/ruoyi/system/service/SysLoginService.java
@@ -123,7 +123,7 @@ */ private boolean validateSmsCode(String phonenumber, String smsCode, HttpServletRequest request) { String code = RedisUtils.getCacheObject(Constants.CAPTCHA_CODE_KEY + phonenumber); if (StringUtils.isNotBlank(code)) { if (StringUtils.isBlank(code)) { asyncService.recordLogininfor(phonenumber, Constants.LOGIN_FAIL, MessageUtils.message("user.jcaptcha.expire"), request); throw new CaptchaExpireException(); }