summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorSebastian Jackel <sjackel@trustinternational.com>2014-05-15 14:21:27 +0200
committerSebastian Jackel <sjackel@trustinternational.com>2014-05-15 14:27:16 +0200
commiteb264a112b378d1ebdf8e1de076797dd56a0e6b8 (patch)
treee8b6da2aa0062522503d322dcfc0e2f1472cb553 /routers
parentf5b2e5f836b42946e4221cb7db49e04d40024ba6 (diff)
downloadgitea-eb264a112b378d1ebdf8e1de076797dd56a0e6b8.tar.gz
gitea-eb264a112b378d1ebdf8e1de076797dd56a0e6b8.zip
Add LDAP over SSL support
Diffstat (limited to 'routers')
-rw-r--r--routers/admin/auths.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/routers/admin/auths.go b/routers/admin/auths.go
index 1822fd69ae..70a23baad7 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,