diff options
author | Unknwon <u@gogs.io> | 2015-09-04 10:59:34 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-09-04 10:59:34 -0400 |
commit | 07fe846c9f64c1b68ed55b42b523c50bf3c23c34 (patch) | |
tree | bbe14389d5dac086c3bda44404f4a79b6881a1b0 /modules/auth/admin.go | |
parent | d023e81a8f6016db0bdaf8a935f273cc6e0d9a49 (diff) | |
download | gitea-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.go | 2 |
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)"` |