Skip to content
Snippets Groups Projects
Commit d3d07d9b authored by Olav Morken's avatar Olav Morken
Browse files

saml: Fix detection of datastore in SAML2 AssertionConsumerService.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2527 44740490-163a-0410-bde0-09ae8108e29a
parent 3dc31f3a
No related branches found
No related tags found
No related merge requests found
......@@ -56,7 +56,7 @@ try {
/* Check for duplicate assertion (replay attack). */
$store = SimpleSAML_Store::getInstance();
if ($store !== NULL) {
if ($store !== FALSE) {
$aID = $assertion->getId();
if ($store->get('saml.AssertionReceived', $aID) !== NULL) {
$e = new SimpleSAML_Error_Exception('Received duplicate assertion.');
......
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