login functional but no disconnect ayy.

This commit is contained in:
quoije
2022-02-27 23:33:57 -05:00
parent 89ed03cb2e
commit b500010935
11 changed files with 117 additions and 146 deletions
+2 -3
View File
@@ -8,11 +8,10 @@ function chkLogin(woof, miaw) {
document.getElementById("nomd").value = "";
document.getElementById("mdp").value = "";
if (typeof data.x === "string")
if (data == "redirect" || document.cookie)
{
document.getElementById("oof").innerHTML = data.x;
window.location = 'api/client.php';
}
});
}