diff options
author | Lauris BH <lauris@nix.lv> | 2017-07-19 04:36:37 +0300 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-07-19 09:36:37 +0800 |
commit | 3702dac0d5bc39f63da987227822d86224b6c446 (patch) | |
tree | 84360b05222cbefe935c6d19f98149737671e2c3 /modules | |
parent | f33e6ae09ec27e898bb8f2cc44d587ea3b8e0dee (diff) | |
download | gitea-3702dac0d5bc39f63da987227822d86224b6c446.tar.gz gitea-3702dac0d5bc39f63da987227822d86224b6c446.zip |
Fix profile update for non-local users (#2178)
Diffstat (limited to 'modules')
-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 3c8ebf725b..4f7b80f590 100644 --- a/modules/auth/user_form.go +++ b/modules/auth/user_form.go @@ -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 |