summaryrefslogtreecommitdiffstats
path: root/modules/auth/admin.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-09-04 10:59:34 -0400
committerUnknwon <u@gogs.io>2015-09-04 10:59:34 -0400
commit07fe846c9f64c1b68ed55b42b523c50bf3c23c34 (patch)
treebbe14389d5dac086c3bda44404f4a79b6881a1b0 /modules/auth/admin.go
parentd023e81a8f6016db0bdaf8a935f273cc6e0d9a49 (diff)
downloadgitea-07fe846c9f64c1b68ed55b42b523c50bf3c23c34.tar.gz
gitea-07fe846c9f64c1b68ed55b42b523c50bf3c23c34.zip
#1579 change e-mail max length to 254
Diffstat (limited to 'modules/auth/admin.go')
-rw-r--r--modules/auth/admin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/auth/admin.go b/modules/auth/admin.go
index a95b83de6a..596e5d642e 100644
--- a/modules/auth/admin.go
+++ b/modules/auth/admin.go
@@ -12,7 +12,7 @@ import (
type AdminEditUserForm struct {
FullName string `form:"fullname" binding:"MaxSize(100)"`
- Email string `binding:"Required;Email;MaxSize(50)"`
+ Email string `binding:"Required;Email;MaxSize(254)"`
Password string `binding:"OmitEmpty;MinSize(6);MaxSize(255)"`
Website string `binding:"MaxSize(50)"`
Location string `binding:"MaxSize(50)"`