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

Merge pull request #1136 from simplesamlphp/tvdijen-patch-nameidformat

Properly set NameIDFormat on generation
parents 6c4a828a 2901bf50
No related branches found
No related tags found
No related merge requests found
......@@ -94,6 +94,7 @@ abstract class BaseNameIDGenerator extends \SimpleSAML\Auth\ProcessingFilter
$nameId = new \SAML2\XML\saml\NameID();
$nameId->setValue($value);
$nameId->setFormat($this->format);
if ($this->nameQualifier === true) {
if (isset($state['IdPMetadata']['entityid'])) {
......
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