Fix profile update for non-local users (#2178)

release/v1.15
Lauris BH 2017-07-19 04:36:37 +03:00 committed by Lunny Xiao
parent f33e6ae09e
commit 3702dac0d5
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ func (f *SignInForm) Validate(ctx *macaron.Context, errs binding.Errors) binding
// UpdateProfileForm form for updating profile
type UpdateProfileForm struct {
Name string `binding:"Required;AlphaDashDot;MaxSize(35)"`
Name string `binding:"AlphaDashDot;MaxSize(35)"`
FullName string `binding:"MaxSize(100)"`
Email string `binding:"Required;Email;MaxSize(254)"`
KeepEmailPrivate bool