Added change password feature, Closes #1455

This commit is contained in:
Torkel Ödegaard
2015-02-19 16:09:49 +01:00
parent afc52f57a2
commit 47c6c6e1b7
11 changed files with 152 additions and 5 deletions
+7
View File
@@ -52,6 +52,13 @@ type UpdateUserCommand struct {
UserId int64 `json:"-"`
}
type ChangeUserPasswordCommand struct {
OldPassword string `json:"oldPassword"`
NewPassword string `json:"newPassword"`
UserId int64 `json:"-"`
}
type DeleteUserCommand struct {
UserId int64
}