This commit is contained in:
2023-11-17 12:36:08 +08:00
parent 76af7820b4
commit e1e2a3817a

View File

@@ -96,6 +96,9 @@ class SessionService {
if (sysConfigService.isEnable(Constants.SYSCONFIG_ENABLE_CAPTCHA)) {
String captchaId = dto.getCaptchaId();
if (captchaId == null){
throw new BizException("验证码错误, 请刷新验证码重试");
}
String expectCaptcha = stringRedisTemplate.opsForValue().get(captchaId);