Skip to content

Commit

Permalink
fix redirectBack usage
Browse files Browse the repository at this point in the history
  • Loading branch information
nichtsam committed Jan 17, 2025
1 parent 85f55f9 commit 1b25e6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/utils/auth/auth.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export const logout = async (
if (redirectTo) {
throw redirect(safeRedirect(redirectTo), responseInit)
} else {
throw redirectBack(request, {
return redirectBack(request, {
fallback: '/',
...responseInit,
})
Expand Down

0 comments on commit 1b25e6a

Please sign in to comment.