aboutsummaryrefslogtreecommitdiff
path: root/modules/auth/auth_form.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/auth/auth_form.go')
-rw-r--r--modules/auth/auth_form.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/auth/auth_form.go b/modules/auth/auth_form.go
index 1604792a..68a96883 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 {