From 07fe846c9f64c1b68ed55b42b523c50bf3c23c34 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Fri, 4 Sep 2015 10:59:34 -0400 Subject: #1579 change e-mail max length to 254 --- modules/auth/admin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/auth/admin.go') 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)"` -- cgit v1.2.3