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

IdP: Add logout association IdP when upgrading

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2192 44740490-163a-0410-bde0-09ae8108e29a
parent b8c0a227
No related branches found
No related tags found
No related merge requests found
...@@ -199,7 +199,16 @@ class SimpleSAML_IdP { ...@@ -199,7 +199,16 @@ class SimpleSAML_IdP {
public function getAssociations() { public function getAssociations() {
$session = SimpleSAML_Session::getInstance(); $session = SimpleSAML_Session::getInstance();
return $session->getAssociations($this->associationGroup);
$associations = $session->getAssociations($this->associationGroup);
foreach ($associations as &$a) {
if (!isset($a['core:IdP'])) {
$a['core:IdP'] = $this->id;
}
}
return $associations;
} }
......
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