Skip to content
Snippets Groups Projects
Commit ecb0c80c authored by Jaime Pérez's avatar Jaime Pérez
Browse files

bugfix: the sspmod_saml_IdP_SQLNameID::getIdentities() method was broken.

The $store and $params variables were not initialized before trying to execute the prepared statement.
parent 2a377f72
No related branches found
No related tags found
No related merge requests found
......@@ -156,6 +156,13 @@ class sspmod_saml_IdP_SQLNameID {
assert('is_string($idpEntityId)');
assert('is_string($spEntityId)');
$store = self::getStore();
$params = array(
'_idp' => $idpEntityId,
'_sp' => $spEntityId,
);
$query = 'SELECT _user, _value FROM ' . $store->prefix . '_saml_PersistentNameID WHERE _idp = :_idp AND _sp = :_sp';
$query = $store->pdo->prepare($query);
$query->execute($params);
......
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