diff --git a/src/pages/api/register.ts b/src/pages/api/register.ts index 32636243..e0f0b591 100644 --- a/src/pages/api/register.ts +++ b/src/pages/api/register.ts @@ -72,6 +72,9 @@ async function registerIndividual(req: NextApiRequest, res: NextApiResponse) { ...(passport_id ? {demographicInformation: {passport_id}} : {}), registrationDate: new Date().toISOString(), status: code ? "active" : "paymentDue", + // apparently there's an issue with the verification email system + // therefore we will skip this requirement for now + isVerified: true, }; await db.collection("users").insertOne(user); @@ -117,6 +120,9 @@ async function registerCorporate(req: NextApiRequest, res: NextApiResponse) { subscriptionExpirationDate: req.body.subscriptionExpirationDate || null, status: "paymentDue", registrationDate: new Date().toISOString(), + // apparently there's an issue with the verification email system + // therefore we will skip this requirement for now + isVerified: true, }; const defaultTeachersGroup: Group = {