diff options
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)"` |