initial
This commit is contained in:
11
apps/api/src/password/dto/confirm-reset.dto.ts
Normal file
11
apps/api/src/password/dto/confirm-reset.dto.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { IsString, Length } from 'class-validator';
|
||||
|
||||
export class ConfirmResetDto {
|
||||
@IsString()
|
||||
@Length(20, 256)
|
||||
token!: string;
|
||||
|
||||
@IsString()
|
||||
@Length(12, 256)
|
||||
newPassword!: string;
|
||||
}
|
||||
Reference in New Issue
Block a user