aboutsummaryrefslogtreecommitdiff
path: root/modules/auth/authentication.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2014-05-15 20:58:20 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2014-05-15 20:58:20 +0800
commit4f042d12bd0cd45a47b3d7347112e685801d3bef (patch)
tree556d84b5860efc1e4ea77573e11422bb4f2c413f /modules/auth/authentication.go
parent839a9bb054618c7f3b04dae0b4f5b5b0fbcf1ee2 (diff)
parent7869cfccb9ddf08069312c1e456908055d863e96 (diff)
Merge branch 'dev' of github.com:gogits/gogs into dev
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 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",