验证码调整

This commit is contained in:
MaxKey
2022-07-21 16:03:38 +08:00
parent 9a55b6b8d5
commit 3892b05718
11 changed files with 30 additions and 45 deletions

View File

@@ -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();