From a10d7271e00b9fb7fa6c8d42682a4337a1601227 Mon Sep 17 00:00:00 2001 From: prabhavms Date: Thu, 18 Jan 2024 23:21:36 +0530 Subject: [PATCH] fix: verification fix --- src/models/user.model.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/user.model.ts b/src/models/user.model.ts index fa81c70..c9ae036 100644 --- a/src/models/user.model.ts +++ b/src/models/user.model.ts @@ -74,7 +74,7 @@ const userSchema = new mongoose.Schema( }, verificationStatus: { type: Boolean, - default: true, + default: false, required: true, }, passwordResetToken: {