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

This commit is contained in:
Leo Giovanetti 2023-06-16 11:38:40 -03:00 committed by GitHub
parent 1343c8fa8d
commit 8fa1c70a97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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({