From 6e4894c1656d283906b679866923fddab2b146bf Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 23 Dec 2023 14:39:01 +0900 Subject: [PATCH] lint --- packages/backend/src/core/EmailService.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/backend/src/core/EmailService.ts b/packages/backend/src/core/EmailService.ts index 6107b9601..3a61e353f 100644 --- a/packages/backend/src/core/EmailService.ts +++ b/packages/backend/src/core/EmailService.ts @@ -166,11 +166,10 @@ export class EmailService { email: emailAddress, }); - const verifymailApi = meta.enableVerifymailApi && meta.verifymailAuthKey != null; let validated; if (meta.enableActiveEmailValidation) { - if (verifymailApi) { + if (meta.enableVerifymailApi && meta.verifymailAuthKey != null) { validated = await this.verifyMail(emailAddress, meta.verifymailAuthKey); } else { validated = await validateEmail({