onComplete()

This commit is contained in:
pgmr3
2023-12-22 20:35:51 +01:00
parent c05f5a1cc0
commit cee73af885

View File

@@ -78,6 +78,13 @@ include_once('../check_accesstoken.php');
window.location.replace("/my/");
}
//callback doTestLogedin()
function onComplete(logedin){ // When the check logged out completes, do this
console.log("loggedin: "+ logedin);
if (!logedin) window.location.replace("/"); // clear history
Xlogedin = logedin; //global
}
// Document fully loaded
function dokumentLoadDone(event) {
<?php