remove logs, and fix bugs

This commit is contained in:
MathMan05 2025-03-13 23:59:34 -05:00
parent f5eaea563a
commit 9970966f56
2 changed files with 1 additions and 2 deletions

View file

@ -1703,7 +1703,6 @@ class Localuser {
const deleteAccount = settings.addButton(I18n.localuser.deleteAccount()).addForm(
"",
(e) => {
console.log(e);
if ("message" in e) {
if (typeof e.message === "string") {
throw new FormError(password, e.message);

View file

@ -101,7 +101,7 @@ export class Specialuser {
}
}
if (sessionStorage.getItem("currentuser") === this.uid) {
sessionStorage.delete("currentuser");
sessionStorage.removeItem("currentuser");
}
localStorage.setItem("userinfos", JSON.stringify(info));
}