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

saml2/idp/SSOService: Fix exception handling from authentication modules.

Thanks to Ernesto Revilla for finding and fixing this bug.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1778 44740490-163a-0410-bde0-09ae8108e29a
parent 5b8f8aa8
No related branches found
No related tags found
No related merge requests found
......@@ -210,10 +210,10 @@ if (isset($_REQUEST['SAMLRequest'])) {
} elseif (array_key_exists('RequestID', $_REQUEST)) {
/* This was from an authentication module. */
$authId = $_REQUEST['RequestId'];
$authId = $_REQUEST['RequestID'];
$requestcache = $session->getAuthnRequest('saml2', $authId);
if (!$requestcache) {
throw new Exception('Could not retrieve saved request while handling exceptions. RequestId=' . var_export($authId, TRUE));
throw new Exception('Could not retrieve saved request while handling exceptions. RequestID=' . var_export($authId, TRUE));
}
} else {
......
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