From 8fa1c70a97b03c46e0e23ef6206e6254613fcf94 Mon Sep 17 00:00:00 2001 From: Leo Giovanetti Date: Fri, 16 Jun 2023 11:38:40 -0300 Subject: [PATCH] Adding more time to org admin email verif step (#9574) --- .../trpc/server/routers/viewer/organizations/create.handler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/trpc/server/routers/viewer/organizations/create.handler.ts b/packages/trpc/server/routers/viewer/organizations/create.handler.ts index 9668939199..ad6a9513af 100644 --- a/packages/trpc/server/routers/viewer/organizations/create.handler.ts +++ b/packages/trpc/server/routers/viewer/organizations/create.handler.ts @@ -113,7 +113,7 @@ export const createHandler = async ({ input }: CreateOptions) => { .update(adminEmail + process.env.CALENDSO_ENCRYPTION_KEY) .digest("hex"); - totp.options = { step: 90 }; + totp.options = { step: 900 }; const code = totp.generate(secret); await sendOrganizationEmailVerification({