Update Website binding MaxSize to 255 (#722)

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

No files matched your search

+1 -1
View File
@@ -103,7 +103,7 @@ type UpdateProfileForm struct {
FullName string `binding:"MaxSize(100)"`
Email string `binding:"Required;Email;MaxSize(254)"`
KeepEmailPrivate bool
Website string `binding:"Url;MaxSize(100)"`
Website string `binding:"Url;MaxSize(255)"`
Location string `binding:"MaxSize(50)"`
}