Skip to content
Snippets Groups Projects
Commit ff6457da authored by Thijs Kinkhorst's avatar Thijs Kinkhorst
Browse files

Fix typo in config var NameIDPolicy so it was not reflected in metadata

parent cd924bc3
Branches
Tags
No related merge requests found
...@@ -137,7 +137,7 @@ class SP extends \SimpleSAML\Auth\Source ...@@ -137,7 +137,7 @@ class SP extends \SimpleSAML\Auth\Source
]; ];
// add NameIDPolicy // add NameIDPolicy
if ($this->metadata->hasValue('NameIDValue')) { if ($this->metadata->hasValue('NameIDPolicy')) {
$format = $this->metadata->getValue('NameIDPolicy'); $format = $this->metadata->getValue('NameIDPolicy');
if (is_array($format)) { if (is_array($format)) {
$metadata['NameIDFormat'] = Configuration::loadFromArray($format)->getString( $metadata['NameIDFormat'] = Configuration::loadFromArray($format)->getString(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment