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(), ],