N°2311 - Debug login FSM

This commit is contained in:
Eric
2019-08-14 09:13:03 +02:00
parent 7885d712a6
commit 11f62063a6
7 changed files with 43 additions and 4 deletions

View File

@@ -890,6 +890,20 @@ class utils
return (isset($_SESSION['can_logoff']) ? $_SESSION['can_logoff'] : false);
}
/**
* Get the _SESSION variable for logging purpose
* @return false|string
*/
public static function GetSessionLog()
{
ob_start();
print_r($_SESSION);
$sSessionLog = ob_get_contents();
ob_end_clean();
return $sSessionLog;
}
/**
* Initializes the CAS client
*/