Skip to content

Commit ae24b12

Browse files
committed
change route
1 parent 5f77adf commit ae24b12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/api/auth/confirm/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export async function GET(request: NextRequest) {
8181

8282
// redirect the user to the next page
8383
redirectTo.searchParams.delete('next');
84-
return NextResponse.redirect('/signup');
84+
return NextResponse.redirect('/login');
8585
} else {
8686
console.error('Error verifying OTP:', error.message);
8787
}

0 commit comments

Comments
 (0)