aboutsummaryrefslogtreecommitdiff
path: root/modules/auth/auth_form.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-16 14:31:54 +0800
committerUnknwon <u@gogs.io>2015-08-16 14:31:54 +0800
commit55ccb00a47e580efc1cf184e31dd19f05137a4b3 (patch)
treead538b0525a886c8f1c0549709e8b97ac8e811d0 /modules/auth/auth_form.go
parent6d3e5a36a1d81cc690807768de3f686699f4c171 (diff)
parentf8a4ab25fda9731803e787160f54d767d1b57eef (diff)
Merge branch 'develop' of https://github.com/SergioBenitez/gogs into develop
# Conflicts: # modules/bindata/bindata.go
Diffstat (limited to 'modules/auth/auth_form.go')
-rw-r--r--modules/auth/auth_form.go9
1 files changed, 4 insertions, 5 deletions
diff --git a/modules/auth/auth_form.go b/modules/auth/auth_form.go
index 1102dc34..94753b3e 100644
--- a/modules/auth/auth_form.go
+++ b/modules/auth/auth_form.go
@@ -13,17 +13,16 @@ type AuthenticationForm struct {
ID int64 `form:"id"`
Type int
Name string `binding:"Required;MaxSize(50)"`
- Domain string
Host string
Port int
- UseSSL bool `form:"usessl"`
- BaseDN string `form:"base_dn"`
- AttributeUsername string
+ UseSSL bool `form:"use_ssl"`
+ BindDN string `form:"bind_dn"`
+ BindPassword string
+ UserBase string
AttributeName string
AttributeSurname string
AttributeMail string
Filter string
- MsAdSA string `form:"ms_ad_sa"`
IsActived bool
SMTPAuth string `form:"smtp_auth"`
SMTPHost string `form:"smtp_host"`