Skip to content
Snippets Groups Projects
Commit 2f4653af authored by Jaime Pérez Crespo's avatar Jaime Pérez Crespo Committed by GitHub
Browse files

Merge pull request #500 from andrius-kulbis/master

Fix required attributes duplication
parents 044ecfc1 d4580a1e
No related branches found
No related tags found
No related merge requests found
...@@ -1217,10 +1217,6 @@ class SimpleSAML_Metadata_SAMLParser ...@@ -1217,10 +1217,6 @@ class SimpleSAML_Metadata_SAMLParser
$attrname = $child->Name; $attrname = $child->Name;
$sp['attributes'][] = $attrname; $sp['attributes'][] = $attrname;
if ($child->isRequired) {
$sp['attributes.required'][] = $attrname;
}
if ($child->isRequired !== null && $child->isRequired === true) { if ($child->isRequired !== null && $child->isRequired === true) {
$sp['attributes.required'][] = $attrname; $sp['attributes.required'][] = $attrname;
} }
......
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