Skip to content

Commit

Permalink
fix: redirect to /login if user is not signed in
Browse files Browse the repository at this point in the history
  • Loading branch information
psanders committed Dec 7, 2023
1 parent b138d74 commit 3fde0d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mods/frontoffice/src/containers/HomeContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ function HomeContainer() {

if (!client) {
signOut();
window.location.href = "/login";
return;
}

Expand Down

0 comments on commit 3fde0d1

Please sign in to comment.