登录验证码配置优化
This commit is contained in:
@@ -26,6 +26,9 @@ public class LoginConfig {
|
||||
@Value("${maxkey.login.captcha}")
|
||||
boolean captcha;
|
||||
|
||||
@Value("${maxkey.login.captcha.type}")
|
||||
String captchaType;
|
||||
|
||||
@Value("${maxkey.login.mfa}")
|
||||
boolean mfa;
|
||||
|
||||
@@ -108,6 +111,14 @@ public class LoginConfig {
|
||||
this.casService = casService;
|
||||
}
|
||||
|
||||
public String getCaptchaType() {
|
||||
return captchaType;
|
||||
}
|
||||
|
||||
public void setCaptchaType(String captchaType) {
|
||||
this.captchaType = captchaType;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder builder = new StringBuilder();
|
||||
|
||||
Reference in New Issue
Block a user