mirror of
https://github.com/dec0dOS/zero-ui.git
synced 2025-07-06 13:01:46 -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);
|
setDisableAuth(true);
|
||||||
setToken("");
|
setToken("");
|
||||||
history.go(0);
|
history.go(0);
|
||||||
|
} else {
|
||||||
|
setDisableAuth(false);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue