Skip to content

Commit 728114a

Browse files
author
Chuan Ren
committed
Update email_and_password.ts
1 parent 732d2b3 commit 728114a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/auth/src/core/strategies/email_and_password.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,12 @@ export async function sendPasswordResetEmail(
128128
actionCodeSettings
129129
);
130130
}
131+
await authentication.sendPasswordResetEmail(
132+
authInternal,
133+
requestWithRecaptcha
134+
);
135+
} else {
136+
return Promise.reject(error);
131137
}
132138
});
133139
}

0 commit comments

Comments
 (0)