add account deletion

This commit is contained in:
MathMan05
2025-03-13 19:56:55 -05:00
parent 1a59dfbd34
commit 739ee81002
5 changed files with 46 additions and 8 deletions

View File

@@ -89,6 +89,11 @@ export class Specialuser {
console.error("There are fundamentally missing pieces of info missing from this user");
}
}
remove() {
const info = getBulkInfo();
delete info.users[this.uid];
localStorage.setItem("userinfos", JSON.stringify(info));
}
set pfpsrc(e) {
this.json.pfpsrc = e;
this.updateLocal();