This commit is contained in:
Turtle committed 2025-12-22 13:26:45 +01:00
1 parent e49ce13dc7
commit 322c62ec80
7 files changed
+387 -23

No files matched your search

+2 -10
View File
@@ -25,7 +25,7 @@ async function getData() {
async function login() {
const data = await getData();
const username = getId("username").value;
const username = getId("username").value.toLowerCase();
const password = getId("password").value;
const user = data[username];
@@ -39,17 +39,9 @@ async function login() {
return;
}
location.href = "/uebersicht.html";
location.href = "./prof/uebersicht.html?user=" + username;
}
couchDB.set("users", {
turtle: {
password: "password",
level: 1,
isProf: true
}
});
</script>
</body>