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

Removed forgotten debug messages.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@544 44740490-163a-0410-bde0-09ae8108e29a
parent a0172271
No related branches found
No related tags found
No related merge requests found
...@@ -107,9 +107,7 @@ if (isset($_GET['SAMLRequest'])) { ...@@ -107,9 +107,7 @@ if (isset($_GET['SAMLRequest'])) {
SimpleSAML_Logger::stats('saml20-sp-SLO spinit ' . $requester . ' ' . $responder); SimpleSAML_Logger::stats('saml20-sp-SLO spinit ' . $requester . ' ' . $responder);
$id = $logoutresponse->getInResponseTo(); $id = $logoutresponse->getInResponseTo();
error_log('ID: ' . strlen($id) . ':' . $id);
$returnTo = $session->getData('spLogoutReturnTo', $id); $returnTo = $session->getData('spLogoutReturnTo', $id);
error_log("returnTo: " . var_export($returnTo, TRUE));
if(empty($returnTo)) { if(empty($returnTo)) {
SimpleSAML_Utilities::fatalError($session->getTrackID(), 'NORELAYSTATE'); SimpleSAML_Utilities::fatalError($session->getTrackID(), 'NORELAYSTATE');
......
...@@ -44,7 +44,6 @@ if (isset($session) ) { ...@@ -44,7 +44,6 @@ if (isset($session) ) {
/* Save the $returnTo url until the user returns from the IdP. */ /* Save the $returnTo url until the user returns from the IdP. */
$session->setData('spLogoutReturnTo', $lr->getGeneratedID(), 15*60, $returnTo); $session->setData('spLogoutReturnTo', $lr->getGeneratedID(), 15*60, $returnTo);
error_log('Saved: "' . $lr->getGeneratedID() . '" => "' . $returnTo . '"');
$httpredirect = new SimpleSAML_Bindings_SAML20_HTTPRedirect($config, $metadata); $httpredirect = new SimpleSAML_Bindings_SAML20_HTTPRedirect($config, $metadata);
......
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