Skip to content

Commit

Permalink
Fix missing await
Browse files Browse the repository at this point in the history
  • Loading branch information
jaclarke committed Nov 21, 2023
1 parent 4984e5e commit 0f81a43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/auth-core/src/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export class Auth {
}

async sendPasswordResetEmail(email: string, resetUrl: string) {
const { challenge, verifier } = pkce.createVerifierChallengePair();
const { challenge, verifier } = await pkce.createVerifierChallengePair();
return {
verifier,
...(await this._post<{ email_sent: string }>("send-reset-email", {
Expand Down

0 comments on commit 0f81a43

Please sign in to comment.