Skip to content

Commit

Permalink
Return no data when auth fails
Browse files Browse the repository at this point in the history
  • Loading branch information
Deeds67 committed Jan 6, 2025
1 parent a4f456a commit b8bbbf3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/routes/_index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ async function authUserRemixOAuth(request: Request) {
});
} catch (error) {
console.error("Authentication error:", error);
return data(null);
}
} else {
return data(null);
}
}

Expand Down

0 comments on commit b8bbbf3

Please sign in to comment.