diff options
author | Unknwon <u@gogs.io> | 2015-12-05 17:13:13 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-12-05 17:13:13 -0500 |
commit | 978dc00305f1af705ae8900977529bac6fa4c72b (patch) | |
tree | 67587da091f590282fd2c120197249fd9b07b98f /modules | |
parent | bf26808fb3fd55d74089e4f758aaac77be56f7ea (diff) | |
download | gitea-978dc00305f1af705ae8900977529bac6fa4c72b.tar.gz gitea-978dc00305f1af705ae8900977529bac6fa4c72b.zip |
APIs: admin users
Diffstat (limited to 'modules')
-rw-r--r-- | modules/auth/auth_form.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/auth/auth_form.go b/modules/auth/auth_form.go index 1604792a66..68a9688303 100644 --- a/modules/auth/auth_form.go +++ b/modules/auth/auth_form.go @@ -18,7 +18,7 @@ type AuthenticationForm struct { BindDN string BindPassword string UserBase string - UserDN string `form:"user_dn"` + UserDN string AttributeUsername string AttributeName string AttributeSurname string @@ -32,7 +32,7 @@ type AuthenticationForm struct { AllowedDomains string TLS bool SkipVerify bool - PAMServiceName string `form:"pam_service_name"` + PAMServiceName string } func (f *AuthenticationForm) Validate(ctx *macaron.Context, errs binding.Errors) binding.Errors { |