From f5c7f22cc8595a81b5d9f9da4a0a29faf2dbbdce Mon Sep 17 00:00:00 2001 From: Unknwon Date: Mon, 14 Sep 2015 15:48:51 -0400 Subject: #1637 able to skip verify for LDAP --- routers/admin/auths.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'routers') diff --git a/routers/admin/auths.go b/routers/admin/auths.go index a218ee09b7..e264f7a8ba 100644 --- a/routers/admin/auths.go +++ b/routers/admin/auths.go @@ -67,11 +67,12 @@ func NewAuthSource(ctx *middleware.Context) { func parseLDAPConfig(form auth.AuthenticationForm) *models.LDAPConfig { return &models.LDAPConfig{ - Ldapsource: ldap.Ldapsource{ + Source: &ldap.Source{ Name: form.Name, Host: form.Host, Port: form.Port, UseSSL: form.TLS, + SkipVerify: form.SkipVerify, BindDN: form.BindDN, UserDN: form.UserDN, BindPassword: form.BindPassword, -- cgit v1.2.3