Skip to content

Commit

Permalink
Merge pull request #1496 from rockingrohit9639/fix/session-expiry-issue
Browse files Browse the repository at this point in the history
fix/session-expiry-issue
  • Loading branch information
DonKoko authored Dec 10, 2024
2 parents 564ee85 + 54d265c commit 39c2789
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export function protect({
cause: null,
message: "Session might have expired. Please log in again.",
label: "Auth",
shouldBeCaptured: false,
})
);
return c.redirect(`${onFailRedirectTo}?redirectTo=${c.req.path}`);
Expand Down

0 comments on commit 39c2789

Please sign in to comment.