From a5f64b24c6d539afd9767efd7a01e84a12699e9d Mon Sep 17 00:00:00 2001 From: Chakravarthi Medicharla Date: Thu, 5 Oct 2023 18:41:01 +0530 Subject: [PATCH] reset index file --- server/index.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/server/index.ts b/server/index.ts index 860566b5..739e4ff4 100644 --- a/server/index.ts +++ b/server/index.ts @@ -21,6 +21,7 @@ import { errorHandler, middleware } from "supertokens-node/framework/express"; import Dashboard from "supertokens-node/lib/build/recipe/dashboard/recipe"; import AccountLinking from "supertokens-node/recipe/accountlinking"; import EmailPassword from "supertokens-node/recipe/emailpassword"; +import EmailVerification from "supertokens-node/recipe/emailverification"; import Passwordless from "supertokens-node/recipe/passwordless"; import Session from "supertokens-node/recipe/session"; import ThirdParty from "supertokens-node/recipe/thirdparty"; @@ -82,9 +83,9 @@ SuperTokens.init({ ], }, }), - // EmailVerification.init({ - // mode: "REQUIRED", - // }), + EmailVerification.init({ + mode: "REQUIRED", + }), Session.init(), AccountLinking.init(), ],