You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
392 B
TypeScript

import { IsString, MaxLength, MinLength } from "class-validator";
export class ChangePasswordDto{
// @MinLength(4)
// @Matches(/((?=.*\d)|(?=.*\W+))(?![.\n])(?=.*[A-Z])(?=.*[a-z]).*$/,
// { message: 'password is too weak' }
// )
currentPwd:string;
// @MinLength(4)
pass: string;
tpass?: string;
deviceId?:string;
mobNo? : string
}