1
0
Fork 0
forked from forgejo/forgejo

Update Website binding MaxSize to 255 (#722)

This commit is contained in:
Bwko 2017-01-25 08:23:20 +01:00 committed by Lunny Xiao
parent 8555e888d8
commit 634ac9c5af
4 changed files with 6 additions and 6 deletions

View file

@ -32,7 +32,7 @@ type AdminEditUserForm struct {
FullName string `binding:"MaxSize(100)"`
Email string `binding:"Required;Email;MaxSize(254)"`
Password string `binding:"MaxSize(255)"`
Website string `binding:"MaxSize(50)"`
Website string `binding:"Url;MaxSize(255)"`
Location string `binding:"MaxSize(50)"`
MaxRepoCreation int
Active bool