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 /modules/auth/authentication.go | |
parent | b70db618547b2167cac7e35be5405fb385512f30 (diff) | |
parent | eb264a112b378d1ebdf8e1de076797dd56a0e6b8 (diff) |
Merge pull request #192 from DerDackel/ldapssl
Add LDAP over SSL support
Diffstat (limited to 'modules/auth/authentication.go')
-rw-r--r-- | modules/auth/authentication.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/auth/authentication.go b/modules/auth/authentication.go index 170b24a9..e9b21510 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"` @@ -39,6 +40,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", |