This commit is contained in:
Turtle committed 2026-01-11 13:32:08 +01:00
1 parent f5704e87df
commit 96594641dc
11 files changed
+143 -109

No files matched your search

+1 -8
View File
@@ -349,14 +349,7 @@ function form1(string) {
async function getUserData(couchDB) {
let username = getURLArgsMap()["user"];
if (!username) {
if (debug && typeof (debug_username) == "string") {
username = debug_username;
} else {
return null;
}
}
let username = localStorage.getItem("user");
const res = await couchDB.get("users");
if (!res) return null;
const data = res[username];