Skip to content

Commit

Permalink
Merge pull request #91 from italia/fix-state-not-found
Browse files Browse the repository at this point in the history
Fix state not found
  • Loading branch information
damikael authored Apr 10, 2021
2 parents 8e71aae + 8ec3c50 commit 7f8b12c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -647,14 +647,14 @@ public static function processResponse(
$inResponseTo = $response->getInResponseTo();

/* SPID-PHP CUSTOM: strip spid-php */
$stateID = substr($inResponseTo, 8);
/*$stateID = substr($inResponseTo, 8);
$state = State::loadState($stateID, 'saml:sp:sso', true);
if($state==null) {
throw new SSP_Error\Exception(
'State not found for ID '.$inResponseTo
);
}
}*/

/* END SPID CUSTOM */

Expand Down

0 comments on commit 7f8b12c

Please sign in to comment.