#1579 change e-mail max length to 254
This commit is contained in:
parent
d023e81a8f
commit
07fe846c9f
4 changed files with 8 additions and 7 deletions
|
@ -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)"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue