Skip to content

Commit ee05fc8

Browse files
committed
Fix profile update for non-local users
1 parent f33e6ae commit ee05fc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auth/user_form.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ func (f *SignInForm) Validate(ctx *macaron.Context, errs binding.Errors) binding
100100

101101
// UpdateProfileForm form for updating profile
102102
type UpdateProfileForm struct {
103-
Name string `binding:"Required;AlphaDashDot;MaxSize(35)"`
103+
Name string `binding:"AlphaDashDot;MaxSize(35)"`
104104
FullName string `binding:"MaxSize(100)"`
105105
Email string `binding:"Required;Email;MaxSize(254)"`
106106
KeepEmailPrivate bool

0 commit comments

Comments
 (0)