We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
auth-nextjs
1 parent 71c8b88 commit eb7fa07Copy full SHA for eb7fa07
packages/auth-nextjs/src/app/index.ts
@@ -466,7 +466,7 @@ export class NextAppAuth extends NextAuth {
466
}
467
},
468
emailPasswordSendPasswordResetEmail: async (
469
- data: FormData | { email: string; resetUrl: string }
+ data: FormData | { email: string }
470
) => {
471
if (!this.options.passwordResetUrl) {
472
throw new Error(`'passwordResetUrl' option not configured`);
packages/auth-nextjs/src/shared.ts
@@ -24,6 +24,7 @@ export abstract class NextAuth {
24
authCookieName: options.authCookieName ?? "edgedb-session",
25
pkceVerifierCookieName:
26
options.pkceVerifierCookieName ?? "edgedb-pkce-verifier",
27
+ passwordResetUrl: options.passwordResetUrl,
28
};
29
30
0 commit comments