From 6526968f2d91ce9a22dfae8d43690031469f2e14 Mon Sep 17 00:00:00 2001 From: Marie Date: Sat, 23 Dec 2023 16:08:04 +0100 Subject: [PATCH] fix: check --- packages/backend/src/core/EmailService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/core/EmailService.ts b/packages/backend/src/core/EmailService.ts index 4fce64606f..3a61e353f1 100644 --- a/packages/backend/src/core/EmailService.ts +++ b/packages/backend/src/core/EmailService.ts @@ -169,7 +169,7 @@ export class EmailService { let validated; if (meta.enableActiveEmailValidation) { - if (verifymailApi && meta.verifymailAuthKey) { + if (meta.enableVerifymailApi && meta.verifymailAuthKey != null) { validated = await this.verifyMail(emailAddress, meta.verifymailAuthKey); } else { validated = await validateEmail({