diff options
Diffstat (limited to 'modules/auth')
-rw-r--r-- | modules/auth/user_form.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/auth/user_form.go b/modules/auth/user_form.go index 2942940dee..d4c2dff9c0 100644 --- a/modules/auth/user_form.go +++ b/modules/auth/user_form.go @@ -87,7 +87,7 @@ func (f *SignInForm) Validate(ctx *macaron.Context, errs binding.Errors) binding // \/ \/ \/ \/ \/ type UpdateProfileForm struct { - Name string `binding:"Required;MaxSize(35)"` + Name string `binding:"OmitEmpty;MaxSize(35)"` FullName string `binding:"MaxSize(100)"` Email string `binding:"Required;Email;MaxSize(254)"` Website string `binding:"Url;MaxSize(100)"` |