Skip to content

Commit 88d8ab9

Browse files
committed
Fix wrong method being called in forgot-password page
1 parent 337845d commit 88d8ab9

File tree

1 file changed

+1
-1
lines changed
  • apps/web/src/app/(auth)/forgot-password

1 file changed

+1
-1
lines changed

apps/web/src/app/(auth)/forgot-password/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export default function ForgotPasswordPage() {
4242
setIsLoading(true);
4343

4444
try {
45-
const result = await authClient.forgetPassword({
45+
const result = await authClient.requestPasswordReset({
4646
email: data.email,
4747
redirectTo: '/reset-password',
4848
});

0 commit comments

Comments
 (0)