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

bugfix: When generating a NameID from a multivalued attribute, a warning was...

bugfix: When generating a NameID from a multivalued attribute, a warning was logged but the NameID was still generated.
parent fbe37237
No related branches found
No related tags found
No related merge requests found
......@@ -63,6 +63,7 @@ class sspmod_saml_Auth_Process_AttributeNameID extends sspmod_saml_BaseNameIDGen
'More than one value in attribute '.var_export($this->attribute, true).
' on user - not generating attribute NameID.'
);
return null;
}
$value = array_values($state['Attributes'][$this->attribute]); // just in case the first index is no longer 0
$value = $value[0];
......
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