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

saml2/sp/initSSO: Fix use of isPassive and ForceAuthn from metadata.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1829 44740490-163a-0410-bde0-09ae8108e29a
parent 212bffc9
No related branches found
No related tags found
No related merge requests found
......@@ -137,8 +137,12 @@ try {
$ar->setProtocolBinding(SAML2_Const::BINDING_HTTP_POST);
$ar->setRelayState($_REQUEST['RelayState']);
$ar->setIsPassive($isPassive);
$ar->setForceAuthn($forceAuthn);
if ($isPassive) {
$ar->setIsPassive(TRUE);
}
if ($forceAuthn) {
$ar->setForceAuthn(TRUE);
}
if(array_key_exists('IDPList', $spmetadata)) {
$IDPList = array_unique(array_merge($IDPList, $spmetadata['IDPList']));
......
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