mirror of
https://github.com/pgmr3/synologySsoClientExamplePage.git
synced 2025-12-13 13:35:49 +01:00
onComplete()
This commit is contained in:
@@ -78,6 +78,13 @@ include_once('../check_accesstoken.php');
|
|||||||
window.location.replace("/my/");
|
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
|
// Document fully loaded
|
||||||
function dokumentLoadDone(event) {
|
function dokumentLoadDone(event) {
|
||||||
<?php
|
<?php
|
||||||
|
|||||||
Reference in New Issue
Block a user