summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-14 01:12:07 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-14 01:12:07 -0400
commit47edf7f4f9d359765764207cbcb6dd82dba36de8 (patch)
treea809ed1add57ce5eaae2d55190bb55abac294718 /modules
parent495a52d78bfa25759ac4930ccf474206a562c219 (diff)
downloadgitea-47edf7f4f9d359765764207cbcb6dd82dba36de8.tar.gz
gitea-47edf7f4f9d359765764207cbcb6dd82dba36de8.zip
Finish update password and profile
Diffstat (limited to 'modules')
-rw-r--r--modules/auth/user.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/auth/user.go b/modules/auth/user.go
index 6bc7130626..ef595c6000 100644
--- a/modules/auth/user.go
+++ b/modules/auth/user.go
@@ -96,7 +96,7 @@ type FeedsForm struct {
type UpdateProfileForm struct {
Email string `form:"email" binding:"Required;Email;MaxSize(50)"`
- Website string `form:"website" binding:"AlphaDash;MaxSize(50)"`
+ Website string `form:"website" binding:"MaxSize(50)"`
Location string `form:"location" binding:"MaxSize(50)"`
Avatar string `form:"avatar" binding:"Required;Email;MaxSize(50)"`
}