diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2014-05-15 20:52:05 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2014-05-15 20:52:05 +0800 |
commit | 7869cfccb9ddf08069312c1e456908055d863e96 (patch) | |
tree | 556d84b5860efc1e4ea77573e11422bb4f2c413f /routers/admin/auths.go | |
parent | b70db618547b2167cac7e35be5405fb385512f30 (diff) | |
parent | eb264a112b378d1ebdf8e1de076797dd56a0e6b8 (diff) | |
download | gitea-7869cfccb9ddf08069312c1e456908055d863e96.tar.gz gitea-7869cfccb9ddf08069312c1e456908055d863e96.zip |
Merge pull request #192 from DerDackel/ldapssl
Add LDAP over SSL support
Diffstat (limited to 'routers/admin/auths.go')
-rw-r--r-- | routers/admin/auths.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/routers/admin/auths.go b/routers/admin/auths.go index 0bc2566a1c..b7b382cd94 100644 --- a/routers/admin/auths.go +++ b/routers/admin/auths.go @@ -44,6 +44,7 @@ func NewAuthSourcePost(ctx *middleware.Context, form auth.AuthenticationForm) { Ldapsource: ldap.Ldapsource{ Host: form.Host, Port: form.Port, + UseSSL: form.UseSSL, BaseDN: form.BaseDN, Attributes: form.Attributes, Filter: form.Filter, @@ -121,6 +122,7 @@ func EditAuthSourcePost(ctx *middleware.Context, form auth.AuthenticationForm) { Ldapsource: ldap.Ldapsource{ Host: form.Host, Port: form.Port, + UseSSL: form.UseSSL, BaseDN: form.BaseDN, Attributes: form.Attributes, Filter: form.Filter, |