mirror of
https://gitee.com/dromara/MaxKey.git
synced 2025-12-06 17:08:29 +08:00
#IBGVOI LoginConfig 设置默认值
This commit is contained in:
parent
e84a907807
commit
69ffbe40fe
@ -23,22 +23,22 @@ import org.springframework.context.annotation.Configuration;
|
||||
@Configuration
|
||||
public class LoginConfig {
|
||||
|
||||
@Value("${maxkey.login.captcha}")
|
||||
@Value("${maxkey.login.captcha:true}")
|
||||
boolean captcha;
|
||||
|
||||
@Value("${maxkey.login.captcha.type}")
|
||||
@Value("${maxkey.login.captcha.type:TEXT}")
|
||||
String captchaType;
|
||||
|
||||
@Value("${maxkey.login.mfa}")
|
||||
@Value("${maxkey.login.mfa:false}")
|
||||
boolean mfa;
|
||||
|
||||
@Value("${maxkey.login.kerberos}")
|
||||
@Value("${maxkey.login.kerberos:false}")
|
||||
boolean kerberos;
|
||||
|
||||
@Value("${maxkey.login.remeberme}")
|
||||
@Value("${maxkey.login.remeberme:false}")
|
||||
boolean remeberMe;
|
||||
|
||||
@Value("${maxkey.login.wsfederation}")
|
||||
@Value("${maxkey.login.wsfederation:false}")
|
||||
boolean wsFederation;
|
||||
|
||||
@Value("${maxkey.login.cas.serverUrlPrefix:http://sso.maxkey.top/sign/authz/cas}")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user