summaryrefslogtreecommitdiffstats
path: root/modules/auth/user_form.go
diff options
context:
space:
mode:
authorBwko <bouwko@gmail.com>2017-01-25 08:23:20 +0100
committerLunny Xiao <xiaolunwen@gmail.com>2017-01-25 15:23:20 +0800
commit634ac9c5afd3f8aa8a5c72a2698f33e10e8e6b5d (patch)
treeb359bbf7988ccc230af7e256bbd4aac2bffa96bd /modules/auth/user_form.go
parent8555e888d8690df718b1673b8409a29d05770cf4 (diff)
downloadgitea-634ac9c5afd3f8aa8a5c72a2698f33e10e8e6b5d.tar.gz
gitea-634ac9c5afd3f8aa8a5c72a2698f33e10e8e6b5d.zip
Update Website binding MaxSize to 255 (#722)
Diffstat (limited to 'modules/auth/user_form.go')
-rw-r--r--modules/auth/user_form.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/auth/user_form.go b/modules/auth/user_form.go
index 0f083a2e00..e2c45a21e9 100644
--- a/modules/auth/user_form.go
+++ b/modules/auth/user_form.go
@@ -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)"`
}