Skip to content
Snippets Groups Projects
Commit 81a8c0cc authored by Jaime Perez Crespo's avatar Jaime Perez Crespo
Browse files

Stop calling SimpleSAML_Session::getInstance() and switch to the new getSessionFromRequest().

parent f02392bc
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ require_once('../_include.php');
/* Load simpleSAMLphp, configuration */
$config = SimpleSAML_Configuration::getInstance();
$session = SimpleSAML_Session::getInstance();
$session = SimpleSAML_Session::getSessionFromRequest();
/* Check if valid local session exists.. */
SimpleSAML_Utilities::requireAdmin();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment