Disable LDAP login method by default

This commit is contained in:
Yang Luo
2024-01-09 21:36:09 +08:00
parent 518288691d
commit 30fa2f7d81
4 changed files with 0 additions and 9 deletions

View File

@ -212,8 +212,6 @@ func extendApplicationWithSigninMethods(application *Application) (err error) {
signinMethod := &SigninMethod{Name: "WebAuthn", DisplayName: "WebAuthn", Rule: "None"}
application.SigninMethods = append(application.SigninMethods, signinMethod)
}
signinMethod := &SigninMethod{Name: "LDAP", DisplayName: "LDAP", Rule: "None"}
application.SigninMethods = append(application.SigninMethods, signinMethod)
}
if len(application.SigninMethods) == 0 {