diff options
Diffstat (limited to 'routers')
-rw-r--r-- | routers/admin/auths.go | 3 |
1 files changed, 2 insertions, 1 deletions
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, |