aboutsummaryrefslogtreecommitdiffstats
path: root/services/forms
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2021-10-14 10:50:23 +0800
committerGitHub <noreply@github.com>2021-10-13 22:50:23 -0400
commitd47798ccc72236fa239834583ae8367a16ab3fbe (patch)
tree87b6bdcc1bafe828972d63a3aa55f000a5e2c019 /services/forms
parentbd14c40461042bd2bc5570d5f7cb9dfddda22f8a (diff)
downloadgitea-d47798ccc72236fa239834583ae8367a16ab3fbe.tar.gz
gitea-d47798ccc72236fa239834583ae8367a16ab3fbe.zip
Upgrade chi to v5 (#17298)
Diffstat (limited to 'services/forms')
-rw-r--r--services/forms/user_form.go2
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"`