修复没有验证码登录
parent
ac5af41678
commit
383950d8c4
|
@ -49,7 +49,9 @@ public class ValidateCodeServiceImpl implements ValidateCodeService {
|
|||
boolean captchaEnabled = captchaProperties.getEnabled();
|
||||
CaptchaCodeResp.CaptchaCodeRespBuilder respBuilder = CaptchaCodeResp.builder()
|
||||
.captchaEnabled(captchaEnabled);
|
||||
if (!captchaEnabled) {
|
||||
if (!captchaEnabled)
|
||||
{
|
||||
//直接返回
|
||||
return Result.success(respBuilder.build());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue