aboutsummaryrefslogtreecommitdiffstats
path: root/modules/auth
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-07-25 00:48:42 +0800
committerUnknwon <u@gogs.io>2015-07-25 00:48:42 +0800
commit70d44e9565e372c73d4f0f42273d4899e8e07f75 (patch)
tree769df61da1e8732270787b2e3098f7bacc1a7dcd /modules/auth
parentbab811c530debd30f8e9036e1f513fa76393310b (diff)
parent57651060ce356504c873bef0fd6a36d9f2acf141 (diff)
downloadgitea-70d44e9565e372c73d4f0f42273d4899e8e07f75.tar.gz
gitea-70d44e9565e372c73d4f0f42273d4899e8e07f75.zip
Merge branch 'master' of github.com:gogits/gogs into develop
Diffstat (limited to 'modules/auth')
-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 fa5583ffc6..c2dc85413b 100644
--- a/modules/auth/user_form.go
+++ b/modules/auth/user_form.go
@@ -116,7 +116,7 @@ func (f *AddEmailForm) Validate(ctx *macaron.Context, errs binding.Errors) bindi
}
type ChangePasswordForm struct {
- OldPassword string `form:"old_password" binding:"Required;MinSize(6);MaxSize(255)"`
+ OldPassword string `form:"old_password" binding:"Required;MinSize(1);MaxSize(255)"`
Password string `form:"password" binding:"Required;MinSize(6);MaxSize(255)"`
Retype string `form:"retype"`
}