Skip to content

Commit

Permalink
Merge pull request #1 from jaimeperez/bug/session_getinstance
Browse files Browse the repository at this point in the history
Stop using SimpleSAML_Session::getInstance().
  • Loading branch information
szabogyula committed Jan 21, 2015
2 parents d20cb4f + da92c77 commit 9bfd884
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/attributequery.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

$session = SimpleSAML_Session::getInstance();
$session = SimpleSAML_Session::getSessionFromRequest();
$metadata = SimpleSAML_Metadata_MetaDataStorageHandler::getMetadataHandler();

if (!array_key_exists('StateId', $_REQUEST)) {
Expand Down

0 comments on commit 9bfd884

Please sign in to comment.