summaryrefslogtreecommitdiffstats
path: root/modules/auth/admin.go
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-08-29 15:32:52 +0800
committerUnknwon <joe2010xtmf@163.com>2014-08-29 15:32:52 +0800
commit88291745747ffb200b55ca62e1054d1d2c4315d3 (patch)
tree493d0cfe13d53c0720a25d30ced2b0d8d4f39d1a /modules/auth/admin.go
parent6558990e3a1e3d5aac595e0f0b525a834d708647 (diff)
downloadgitea-88291745747ffb200b55ca62e1054d1d2c4315d3.tar.gz
gitea-88291745747ffb200b55ca62e1054d1d2c4315d3.zip
Finish new admin users pages
Diffstat (limited to 'modules/auth/admin.go')
-rw-r--r--modules/auth/admin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/auth/admin.go b/modules/auth/admin.go
index 38f3292b88..1f1260d65a 100644
--- a/modules/auth/admin.go
+++ b/modules/auth/admin.go
@@ -13,7 +13,7 @@ import (
type AdminEditUserForm struct {
Email string `form:"email" binding:"Required;Email;MaxSize(50)"`
- Passwd string `form:"passwd"`
+ Passwd string `form:"password"`
Website string `form:"website" binding:"MaxSize(50)"`
Location string `form:"location" binding:"MaxSize(50)"`
Avatar string `form:"avatar" binding:"Required;Email;MaxSize(50)"`