From 978dc00305f1af705ae8900977529bac6fa4c72b Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 5 Dec 2015 17:13:13 -0500 Subject: APIs: admin users --- modules/auth/auth_form.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/auth/auth_form.go') 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 { -- cgit v1.2.3