From 401bf944ef4b09e7d4ca85d7272dbd32e7e950a0 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Fri, 8 Jul 2016 07:25:09 +0800 Subject: Use SecurityProtocol to replace UseSSL in LDAP config Initially proposed by #2376 and fixes #3068 as well. --- templates/admin/auth/edit.tmpl | 19 ++++++++++++++++--- templates/admin/auth/new.tmpl | 19 ++++++++++++++++--- 2 files changed, 32 insertions(+), 6 deletions(-) (limited to 'templates/admin/auth') diff --git a/templates/admin/auth/edit.tmpl b/templates/admin/auth/edit.tmpl index 9bda8779..0879b274 100644 --- a/templates/admin/auth/edit.tmpl +++ b/templates/admin/auth/edit.tmpl @@ -14,7 +14,7 @@
- + {{.Source.TypeName}}
@@ -25,6 +25,19 @@ {{if or .Source.IsLDAP .Source.IsDLDAP}} {{ $cfg:=.Source.LDAP }} +
+ + +
@@ -129,13 +142,13 @@
{{end}} -
+
-
+
diff --git a/templates/admin/auth/new.tmpl b/templates/admin/auth/new.tmpl index 418f21da..55b6b14c 100644 --- a/templates/admin/auth/new.tmpl +++ b/templates/admin/auth/new.tmpl @@ -16,7 +16,7 @@