summaryrefslogtreecommitdiffstats
path: root/www/example-simple/saml2-example.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/example-simple/saml2-example.php')
-rw-r--r--www/example-simple/saml2-example.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/example-simple/saml2-example.php b/www/example-simple/saml2-example.php
index 7c48d5f..5fdc83b 100644
--- a/www/example-simple/saml2-example.php
+++ b/www/example-simple/saml2-example.php
@@ -27,7 +27,7 @@ session_cache_limiter('nocache');
/* Load simpleSAMLphp, configuration and metadata */
$config = SimpleSAML_Configuration::getInstance();
-$session = SimpleSAML_Session::getInstance();
+$session = SimpleSAML_Session::getSessionFromRequest();
SimpleSAML_Logger::warning('The file example-simple/saml2-example.php is deprecated and will be removed in future versions.');