Register, Login, and Logout

This commit is contained in:
2026-05-13 19:27:59 -04:00
parent f591bdffb5
commit 86f94b7bf3
23 changed files with 737 additions and 25 deletions
+20
View File
@@ -0,0 +1,20 @@
// really simple IE6 compatible post function
function PostToEndpoint(url, params) {
var form = document.createElement("form");
form.method = "POST";
form.action = url;
for (var key in params) {
if (params.hasOwnProperty(key)) {
var input = document.createElement("input");
input.type = "hidden";
input.name = key;
input.value = params[key];
form.appendChild(input);
}
}
document.body.appendChild(form);
form.submit();
}