summaryrefslogtreecommitdiffstats
path: root/modules/auth/auth_form.go
diff options
context:
space:
mode:
authorSergio Benitez <sbenitez@mit.edu>2015-08-12 16:58:27 -0700
committerSergio Benitez <sbenitez@mit.edu>2015-08-12 17:01:22 -0700
commit7d84d4a8f0cb30df04241f528ed74672a485274a (patch)
treee42a4d0163ac9573a75ea47e6659a8761e78d936 /modules/auth/auth_form.go
parent631c85ba4f51d3fe910324595c154dfaf25935d2 (diff)
downloadgitea-7d84d4a8f0cb30df04241f528ed74672a485274a.tar.gz
gitea-7d84d4a8f0cb30df04241f528ed74672a485274a.zip
Significantly enhanced LDAP support in Gogs.
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 1102dc3492..94753b3edd 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"`