summaryrefslogtreecommitdiffstats
path: root/modules/oauth/www/authorize.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/oauth/www/authorize.php')
-rw-r--r--modules/oauth/www/authorize.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/oauth/www/authorize.php b/modules/oauth/www/authorize.php
index 583c86e..ed92f14 100644
--- a/modules/oauth/www/authorize.php
+++ b/modules/oauth/www/authorize.php
@@ -26,7 +26,7 @@ try {
$config = SimpleSAML_Configuration::getInstance();
- $session = SimpleSAML_Session::getInstance();
+ $session = SimpleSAML_Session::getSessionFromRequest();
$as = $oauthconfig->getString('auth');
if (!$session->isValid($as)) {