summaryrefslogtreecommitdiffstats
path: root/modules/auth/admin.go
diff options
context:
space:
mode:
authorgima <gima@iki.fi>2014-07-18 05:11:40 +0300
committergima <gima@iki.fi>2014-07-18 05:30:57 +0300
commit5a97cc69edf47cec6005c58bc2e2d385e11229a6 (patch)
tree46aa113805d406e3a2ab883d175df8cf3a2546ec /modules/auth/admin.go
parent6418caf23a623e45978abdd25ed32a29b12ad868 (diff)
downloadgitea-5a97cc69edf47cec6005c58bc2e2d385e11229a6.tar.gz
gitea-5a97cc69edf47cec6005c58bc2e2d385e11229a6.zip
Make possible for administrators to change user's password (fix proposal for #290)
Diffstat (limited to 'modules/auth/admin.go')
-rw-r--r--modules/auth/admin.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/auth/admin.go b/modules/auth/admin.go
index 668afd9a35..69161f908a 100644
--- a/modules/auth/admin.go
+++ b/modules/auth/admin.go
@@ -16,6 +16,7 @@ import (
type AdminEditUserForm struct {
Email string `form:"email" binding:"Required;Email;MaxSize(50)"`
+ Passwd string `form:"passwd"`
Website string `form:"website" binding:"MaxSize(50)"`
Location string `form:"location" binding:"MaxSize(50)"`
Avatar string `form:"avatar" binding:"Required;Email;MaxSize(50)"`