diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-14 01:12:07 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-14 01:12:07 -0400 |
commit | 47edf7f4f9d359765764207cbcb6dd82dba36de8 (patch) | |
tree | a809ed1add57ce5eaae2d55190bb55abac294718 /modules | |
parent | 495a52d78bfa25759ac4930ccf474206a562c219 (diff) | |
download | gitea-47edf7f4f9d359765764207cbcb6dd82dba36de8.tar.gz gitea-47edf7f4f9d359765764207cbcb6dd82dba36de8.zip |
Finish update password and profile
Diffstat (limited to 'modules')
-rw-r--r-- | modules/auth/user.go | 2 |
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)"` } |