From 3e8b80d0ddab2b92257e92814336a29f319e9dab Mon Sep 17 00:00:00 2001 From: renkelvin Date: Thu, 28 Sep 2023 17:49:20 -0700 Subject: [PATCH] fix return type --- packages/auth/src/core/strategies/email_and_password.ts | 2 +- packages/auth/src/core/strategies/email_link.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/auth/src/core/strategies/email_and_password.ts b/packages/auth/src/core/strategies/email_and_password.ts index 48e51e7d1f3..0ff21810a49 100644 --- a/packages/auth/src/core/strategies/email_and_password.ts +++ b/packages/auth/src/core/strategies/email_and_password.ts @@ -106,7 +106,7 @@ export async function sendPasswordResetEmail( if (actionCodeSettings) { _setActionCodeSettingsOnRequest(authInternal, request, actionCodeSettings); } - void handleRecaptchaFlow( + await handleRecaptchaFlow( authInternal, request, RecaptchaActionName.GET_OOB_CODE, diff --git a/packages/auth/src/core/strategies/email_link.ts b/packages/auth/src/core/strategies/email_link.ts index 01732d888a9..55f95226656 100644 --- a/packages/auth/src/core/strategies/email_link.ts +++ b/packages/auth/src/core/strategies/email_link.ts @@ -102,7 +102,7 @@ export async function sendSignInLinkToEmail( } } setActionCodeSettings(request, actionCodeSettings); - void handleRecaptchaFlow( + await handleRecaptchaFlow( authInternal, request, RecaptchaActionName.GET_OOB_CODE,