Skip to content

Commit 83155de

Browse files
committed
fix: password reset flow
1 parent f7c530f commit 83155de

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

app/[locale]/action-handler/page.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,10 @@ export default function Page() {
6060
}
6161
if (modeParam && modeParam === 'resetPassword') {
6262
redirect({
63-
href: '/auth/reset-password',
64-
// @ts-ignore
65-
query: { oobCode },
63+
href: {
64+
pathname: '/auth/reset-password',
65+
query: { oobCode },
66+
},
6667
locale,
6768
});
6869
} else if (modeParam && modeParam === 'verifyEmail') {

0 commit comments

Comments
 (0)