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. --- modules/auth/auth_form.go | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/auth/auth_form.go') diff --git a/modules/auth/auth_form.go b/modules/auth/auth_form.go index 15dbb360..9454d856 100644 --- a/modules/auth/auth_form.go +++ b/modules/auth/auth_form.go @@ -31,6 +31,7 @@ type AuthenticationForm struct { SMTPHost string SMTPPort int AllowedDomains string + SecurityProtocol int `binding:"Range(0,2)"` TLS bool SkipVerify bool PAMServiceName string -- cgit v1.2.3