mirror of
https://github.com/dec0dOS/zero-ui.git
synced 2025-07-06 04:51:44 -07:00
fix: update disableAuth in localStorage if server config changes
This commit is contained in:
parent
f30dec6eac
commit
036e5779ba
1 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,8 @@ function HomeLoggedOut() {
|
|||
setDisableAuth(true);
|
||||
setToken("");
|
||||
history.go(0);
|
||||
} else {
|
||||
setDisableAuth(false);
|
||||
}
|
||||
});
|
||||
return (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue