验证码调整
This commit is contained in:
@@ -72,8 +72,7 @@ public class LoginEntryPoint {
|
||||
if(applicationConfig.getLoginConfig().isCaptcha()) {
|
||||
model.put("captcha", "true");
|
||||
}else {
|
||||
model.put("captcha", inst.getCaptchaSupport());
|
||||
model.put("captchaType", inst.getCaptchaType());
|
||||
model.put("captcha", inst.getCaptcha());
|
||||
}
|
||||
model.put("state", authTokenService.genRandomJwt());
|
||||
return new Message<HashMap<String , Object>>(model).buildResponse();
|
||||
|
||||
Reference in New Issue
Block a user