chore: add verfication email for user profile

This commit is contained in:
mahyargdz
2025-02-18 10:16:05 +03:30
parent ff96fd6c32
commit cad8e15941
15 changed files with 173 additions and 31 deletions
+1
View File
@@ -5,6 +5,7 @@ import { AuthMessage } from "../../../common/enums/message.enum";
export class VerifyOtpDto {
@IsNotEmpty({ message: AuthMessage.PHONE_NOT_EMPTY })
@Length(11, 11, { message: AuthMessage.PHONE_SHOULD_BE_11_DIGIT })
@IsMobilePhone("fa-IR", {}, { message: AuthMessage.INVALID_PHONE_FORMAT })
@ApiProperty({ description: "phone number", default: "09123456789" })
phone: string;