Skip to content
Snippets Groups Projects
Commit 0e8c5f0f authored by Tim van Dijen's avatar Tim van Dijen
Browse files
parent eef118b5
No related branches found
No related tags found
No related merge requests found
...@@ -66,8 +66,8 @@ class ExceptionController ...@@ -66,8 +66,8 @@ class ExceptionController
$state = Auth\State::loadState($stateId, 'core:cardinality'); $state = Auth\State::loadState($stateId, 'core:cardinality');
Logger::stats( Logger::stats(
'core:cardinality:error '.$state['Destination']['entityid'].' '.$state['saml:sp:IdP']. 'core:cardinality:error ' . $state['Destination']['entityid'] . ' ' . $state['saml:sp:IdP'] .
' '.implode(',', array_keys($state['core:cardinality:errorAttributes'])) ' ' . implode(',', array_keys($state['core:cardinality:errorAttributes']))
); );
$t = new Template($this->config, 'core:cardinality_error.tpl.php'); $t = new Template($this->config, 'core:cardinality_error.tpl.php');
...@@ -76,7 +76,7 @@ class ExceptionController ...@@ -76,7 +76,7 @@ class ExceptionController
$t->data['LogoutURL'] = Module::getModuleURL( $t->data['LogoutURL'] = Module::getModuleURL(
'core/authenticate.php', 'core/authenticate.php',
['as' => $state['Source']['auth']] ['as' => $state['Source']['auth']]
)."&logout"; ) . "&logout";
} }
$t->setStatusCode(403); $t->setStatusCode(403);
......
...@@ -68,7 +68,7 @@ class RedirectionController ...@@ -68,7 +68,7 @@ class RedirectionController
throw new Error\BadRequest('Invalid RedirInfo data.'); throw new Error\BadRequest('Invalid RedirInfo data.');
} }
list($sessionId, $postId) = explode(':', \SimpleSAML\Utils\Crypto::aesDecrypt($encData)); list($sessionId, $postId) = explode(':', Utils\Crypto::aesDecrypt($encData));
if (empty($sessionId) || empty($postId)) { if (empty($sessionId) || empty($postId)) {
throw new Error\BadRequest('Invalid session info data.'); throw new Error\BadRequest('Invalid session info data.');
......
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