diff --git a/init_data.json.template b/init_data.json.template index 41c09d62..a2bcbe7e 100644 --- a/init_data.json.template +++ b/init_data.json.template @@ -61,11 +61,6 @@ "displayName": "WebAuthn", "rule": "None", }, - { - "name": "LDAP", - "displayName": "LDAP", - "rule": "None", - }, ], "signupItems": [ { diff --git a/object/application.go b/object/application.go index e64bafbd..7164a3fc 100644 --- a/object/application.go +++ b/object/application.go @@ -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 { diff --git a/object/init.go b/object/init.go index 2da23fa5..edd9da25 100644 --- a/object/init.go +++ b/object/init.go @@ -184,7 +184,6 @@ func initBuiltInApplication() { {Name: "Password", DisplayName: "Password", Rule: "None"}, {Name: "Verification code", DisplayName: "Verification code", Rule: "All"}, {Name: "WebAuthn", DisplayName: "WebAuthn", Rule: "None"}, - {Name: "LDAP", DisplayName: "LDAP", Rule: "None"}, }, SignupItems: []*SignupItem{ {Name: "ID", Visible: false, Required: true, Prompted: false, Rule: "Random"}, diff --git a/web/src/ApplicationListPage.js b/web/src/ApplicationListPage.js index 6f3ebeb4..21087ed4 100644 --- a/web/src/ApplicationListPage.js +++ b/web/src/ApplicationListPage.js @@ -50,7 +50,6 @@ class ApplicationListPage extends BaseListPage { {name: "Password", displayName: "Password", rule: "All"}, {name: "Verification code", displayName: "Verification code", rule: "All"}, {name: "WebAuthn", displayName: "WebAuthn", rule: "None"}, - {name: "LDAP", displayName: "LDAP", rule: "None"}, ], signupItems: [ {name: "ID", visible: false, required: true, rule: "Random"},