fix error in names of parameter keys
This commit is contained in:
parent
ccdc33da16
commit
791096b949
|
@ -33,7 +33,7 @@ class LassoSPKitSaml2 extends LassoSPKitSAMLCommon {
|
|||
} else {
|
||||
$format = LASSO_SAML2_NAME_IDENTIFIER_FORMAT_TRANSIENT;
|
||||
}
|
||||
return $this->ssoInit(array('create' => $create, 'format' => $format, 'passive' => $passive));
|
||||
return $this->ssoInit(array('allowCreate' => $create, 'nameIDFormat' => $format, 'isPassive' => $passive));
|
||||
}
|
||||
function ssoInit($params = array())
|
||||
{
|
||||
|
@ -45,8 +45,9 @@ class LassoSPKitSaml2 extends LassoSPKitSAMLCommon {
|
|||
'isConsentObtained' => FALSE,
|
||||
'forceAuthn' => FALSE,
|
||||
'isPassive' => FALSE);
|
||||
extract(array_merge($default_params, $params));
|
||||
|
||||
$params = array_merge($default_params, $params);
|
||||
extract($params);
|
||||
lassospkit_debuglog("Params isPassive: $isPassive allowCreate: $allowCreate format: $nameIDFormat");
|
||||
$login = null;
|
||||
return parent::ssoCommon($login, $remoteID, $method, $isConsentObtained, $forceAuthn, $isPassive, array('nameIDFormat'=>$nameIDFormat, 'allowCreate' => $allowCreate));
|
||||
}
|
||||
|
|
Reference in New Issue