From 7d84d4a8f0cb30df04241f528ed74672a485274a Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Wed, 12 Aug 2015 16:58:27 -0700 Subject: Significantly enhanced LDAP support in Gogs. --- modules/auth/auth_form.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'modules/auth/auth_form.go') 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"` -- cgit v1.2.3