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

SAML2:SSOService: Simplify authentication processing.

Now that consent only exists in a module, we can simplify the
authentication processing chain operations.


git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1418 44740490-163a-0410-bde0-09ae8108e29a
parent 7720a98c
No related branches found
No related tags found
No related merge requests found
......@@ -280,15 +280,7 @@ if($needAuth && !$isPassive) {
$attributes = $session->getAttributes();
/* Authentication processing operations. */
if (array_key_exists('AuthProcState', $requestcache)) {
/* Processed earlier, saved in requestcache. */
$authProcState = $requestcache['AuthProcState'];
} elseif (isset($authProcState)) {
/* Returned from redirect during processing. */
$requestcache['AuthProcState'] = $authProcState;
} else {
if (!isset($authProcState)) {
/* Not processed. */
$pc = new SimpleSAML_Auth_ProcessingChain($idpmetadata, $spmetadata, 'idp');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment