mirror of https://gitee.com/stylefeng/roses
【captcha】更新校验的判断
parent
af68c371f6
commit
024f9f82e2
|
@ -180,7 +180,7 @@ public class AuthServiceImpl implements AuthServiceApi {
|
||||||
throw new AuthException(ValidatorExceptionEnum.CAPTCHA_EMPTY);
|
throw new AuthException(ValidatorExceptionEnum.CAPTCHA_EMPTY);
|
||||||
}
|
}
|
||||||
if (!captchaApi.validateCaptcha(verKey, verCode)) {
|
if (!captchaApi.validateCaptcha(verKey, verCode)) {
|
||||||
throw new AuthException(ValidatorExceptionEnum.CAPTCHA_EMPTY);
|
throw new AuthException(ValidatorExceptionEnum.CAPTCHA_ERROR);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue