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

pull/9583/head
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
1 changed files with 1 additions and 1 deletions

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