diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2021-10-14 10:50:23 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-13 22:50:23 -0400 |
commit | d47798ccc72236fa239834583ae8367a16ab3fbe (patch) | |
tree | 87b6bdcc1bafe828972d63a3aa55f000a5e2c019 /services/forms | |
parent | bd14c40461042bd2bc5570d5f7cb9dfddda22f8a (diff) | |
download | gitea-d47798ccc72236fa239834583ae8367a16ab3fbe.tar.gz gitea-d47798ccc72236fa239834583ae8367a16ab3fbe.zip |
Upgrade chi to v5 (#17298)
Diffstat (limited to 'services/forms')
-rw-r--r-- | services/forms/user_form.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/forms/user_form.go b/services/forms/user_form.go index 7d6b976936..241ebdc0d9 100644 --- a/services/forms/user_form.go +++ b/services/forms/user_form.go @@ -85,7 +85,7 @@ func (f *InstallForm) Validate(req *http.Request, errs binding.Errors) binding.E // RegisterForm form for registering type RegisterForm struct { UserName string `binding:"Required;AlphaDashDot;MaxSize(40)"` - Email string `binding:"Required;Email;MaxSize(254)"` + Email string `binding:"Required;MaxSize(254)"` Password string `binding:"MaxSize(255)"` Retype string GRecaptchaResponse string `form:"g-recaptcha-response"` |