Skip to content
Snippets Groups Projects
Commit c70f148f authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Do not filter attributes if no attributs variable is provided

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1103 44740490-163a-0410-bde0-09ae8108e29a
parent 9d536707
No related branches found
No related tags found
No related merge requests found
......@@ -63,8 +63,10 @@ class sspmod_core_Auth_Process_AttributeLimit extends SimpleSAML_Auth_Processing
} else {
$this->allowedAttributes = $request['Source']['attributes'];
}
} else {
} elseif (array_key_exists('attributes', $request['Destination'])) {
$this->allowedAttributes = $request['Destination']['attributes'];
} else {
return;
}
}
......
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