Skip to content

serializers/password_reset.md

Password Reset Serializers

Description

Handles password reset functionality. Ensures passwords match before saving.

Fields

Field Type Required Description
password String Yes New password. (Write-only)
confirm_password String Yes Confirmation of the new password. (Write-only)

Validation

  • Password and confirm_password must match.

Examples

Request Payload:

{
  "password": "newpassword123",
  "confirm_password": "newpassword123"
}