summaryrefslogtreecommitdiffstats
path: root/modules/auth/auth_form.go
diff options
context:
space:
mode:
authorSergio Benitez <sbenitez@mit.edu>2015-09-04 20:39:23 -0700
committerSergio Benitez <sbenitez@mit.edu>2015-09-04 20:48:34 -0700
commit2d1db4bf055a425bf4529b2f9f0378d58e3ec648 (patch)
treef80ae018153c12316a0144458b187171fcd53523 /modules/auth/auth_form.go
parent36a69e8aa5a3bd35396173b4f108b33c19e6ac88 (diff)
downloadgitea-2d1db4bf055a425bf4529b2f9f0378d58e3ec648.tar.gz
gitea-2d1db4bf055a425bf4529b2f9f0378d58e3ec648.zip
Added LDAP simple auth support.
Diffstat (limited to 'modules/auth/auth_form.go')
-rw-r--r--modules/auth/auth_form.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/auth/auth_form.go b/modules/auth/auth_form.go
index b2d427b4b8..c1d49f66fd 100644
--- a/modules/auth/auth_form.go
+++ b/modules/auth/auth_form.go
@@ -19,6 +19,7 @@ type AuthenticationForm struct {
BindDN string `form:"bind_dn"`
BindPassword string
UserBase string
+ UserDN string `form:"user_dn"`
AttributeName string
AttributeSurname string
AttributeMail string