Skip to content

Commit

Permalink
fix: update disableAuth in localStorage if server config changes
Browse files Browse the repository at this point in the history
  • Loading branch information
9p4 committed Jun 1, 2022
1 parent f30dec6 commit 036e577
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/components/HomeLoggedOut/HomeLoggedOut.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ function HomeLoggedOut() {
setDisableAuth(true);
setToken("");
history.go(0);
} else {
setDisableAuth(false);
}
});
return (
Expand Down

0 comments on commit 036e577

Please sign in to comment.