mirror of
https://github.com/pgmr3/synologySsoClientExamplePage.git
synced 2025-12-12 21:15:48 +01:00
onComplete()
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user