Skip to content

Commit

Permalink
Fix profile update for non-local users (#2178)
Browse files Browse the repository at this point in the history
  • Loading branch information
lafriks authored and lunny committed Jul 19, 2017
1 parent f33e6ae commit 3702dac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/auth/user_form.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3702dac

Please sign in to comment.