feat: change password now requires old/current password

This commit is contained in:
2026-08-29 17:39:58 +02:00
parent 68d45db8cd
commit da3b2a5a6e
3 changed files with 13 additions and 4 deletions
+2 -1
View File
@@ -7,5 +7,6 @@ type CreateUserPayload struct {
}
type ChangePasswordPayload struct {
Password string `json:"password"`
OldPassword string `json:"old_password"`
NewPassword string `json:"new_password"`
}