ChangePasswordDTO
Package: @nauth-toolkit/core
Type: DTO (Request)
Data transfer object for changing user password. Requires current password verification.
- NestJS
- Express
- Fastify
import { ChangePasswordDTO } from '@nauth-toolkit/nestjs';
import { ChangePasswordDTO } from '@nauth-toolkit/core';
import { ChangePasswordDTO } from '@nauth-toolkit/core';
Properties
| Property | Type | Required | Description |
|---|---|---|---|
oldPassword | string | Yes | Current password for verification. Not trimmed. |
newPassword | string | Yes | New password. 8-128 characters. Not trimmed. |
Example
{
"oldPassword": "CurrentPass123!",
"newPassword": "NewSecurePass456!"
}