various bug fixes

This commit is contained in:
MathMan05
2025-03-13 20:42:21 -05:00
parent 739ee81002
commit d0d6ff8448
4 changed files with 26 additions and 5 deletions

View File

@@ -110,6 +110,9 @@ import {I18n} from "./i18n.js";
try {
const current = sessionStorage.getItem("currentuser") || users.currentuser;
console.log(users.users, current);
if (!users.users[current]) {
window.location.href = "/login";
}
thisUser = new Localuser(users.users[current]);
thisUser.initwebsocket().then(() => {
thisUser.loaduser();