Skip to content
Snippets Groups Projects
Commit 3c292b78 authored by Jaime Perez's avatar Jaime Perez Committed by Jaime Perez Crespo
Browse files

Delete old modules/core/www/idp/resumeauth.php. Scheduled for removal in 1.8.

parent 5c346332
No related branches found
No related tags found
No related merge requests found
<?php
/* TODO: Delete this file in version 1.8. */
if (!isset($_REQUEST['RequestID'])) {
throw new SimpleSAML_Error_BadRequest('Missing required URL parameter.');
}
/* Backwards-compatibility with old authentication pages. */
$session = SimpleSAML_Session::getSessionFromRequest();
$requestcache = $session->getAuthnRequest('saml2', (string)$_REQUEST['RequestID']);
if (!$requestcache) {
throw new Exception('Could not retrieve cached RequestID = ' . $authId);
}
if ($requestcache['ForceAuthn'] && $requestcache['core:prevSession'] === $session->getAuthnInstant()) {
throw new Exception('ForceAuthn set, but timestamp not updated.');
}
$state = $requestcache['State'];
SimpleSAML_IdP::postAuth($state);
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