aboutsummaryrefslogtreecommitdiff
path: root/modules/auth/authentication.go
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 /modules/auth/authentication.go
parentf5b2e5f836b42946e4221cb7db49e04d40024ba6 (diff)
Add LDAP over SSL support
Diffstat (limited to 'modules/auth/authentication.go')
-rw-r--r--modules/auth/authentication.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/auth/authentication.go b/modules/auth/authentication.go
index 4456d2a5..74d5e11b 100644
--- a/modules/auth/authentication.go
+++ b/modules/auth/authentication.go
@@ -21,6 +21,7 @@ type AuthenticationForm struct {
Domain string `form:"domain"`
Host string `form:"host"`
Port int `form:"port"`
+ UseSSL bool `form:"usessl"`
BaseDN string `form:"base_dn"`
Attributes string `form:"attributes"`
Filter string `form:"filter"`
@@ -37,6 +38,7 @@ func (f *AuthenticationForm) Name(field string) string {
"Domain": "Domain name",
"Host": "Host address",
"Port": "Port Number",
+ "UseSSL": "Use SSL",
"BaseDN": "Base DN",
"Attributes": "Search attributes",
"Filter": "Search filter",