mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-07-25 15:17:06 +08:00
bugfix
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user