Adding more time to org admin email verif step (#9574)

This commit is contained in:
Leo Giovanetti authored and GitHub committed 2023-06-16 14:38:40 +00:00
1 parent 1343c8fa8d
commit 8fa1c70a97
1 file changed
+1 -1
@@ -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({