This commit is contained in:
2026-05-17 23:46:27 +02:00
parent 66ae665aae
commit eddba45f4e
48 changed files with 25 additions and 25 deletions

2
scripts/login.js Normal file → Executable file
View File

@@ -31,7 +31,7 @@ document.getElementById("login-form").addEventListener("submit", async function(
document.cookie = `token=${data.token}; max-age=${3 * 60 * 60}; path=/; secure; samesite=strict`;
document.cookie = `username=${username}; max-age=${3 * 60 * 60}; path=/; secure; samesite=strict`;
window.location.href = "/";
window.location.href = "index.html";
return;
}