fix: update disableAuth in localStorage if server config changes

This commit is contained in:
Sambhav Saggi 2022-05-31 20:06:49 -04:00
parent f30dec6eac
commit 036e5779ba
No known key found for this signature in database
GPG key ID: 8F731DA8AFBAE35D

View file

@ -14,6 +14,8 @@ function HomeLoggedOut() {
setDisableAuth(true);
setToken("");
history.go(0);
} else {
setDisableAuth(false);
}
});
return (