feat: change password now requires old/current password

This commit is contained in:
2026-08-29 17:37:52 +02:00
parent dc71ff4332
commit b44ee7bfe2
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"`
}