Added change password ability to admin > edit user view, #1446

This commit is contained in:
Torkel Ödegaard
2015-02-23 11:24:22 +01:00
parent 15c52cacfb
commit 1a106e5c38
7 changed files with 79 additions and 27 deletions
+4
View File
@@ -12,3 +12,7 @@ type AdminUpdateUserForm struct {
Login string `json:"login"`
Name string `json:"name"`
}
type AdminUpdateUserPasswordForm struct {
Password string `json:"password" binding:"Required"`
}