feat: change password now requires old/current password
This commit is contained in:
@@ -7,5 +7,6 @@ type CreateUserPayload struct {
|
||||
}
|
||||
|
||||
type ChangePasswordPayload struct {
|
||||
Password string `json:"password"`
|
||||
OldPassword string `json:"old_password"`
|
||||
NewPassword string `json:"new_password"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user