diff --git a/lib/AA/SAML2.php b/lib/AA/SAML2.php index 61c329b..0aa440b 100644 --- a/lib/AA/SAML2.php +++ b/lib/AA/SAML2.php @@ -201,7 +201,7 @@ private function getAttributes() if ($nameId->getFormat()) { $nameIdFormat = $nameId->getFormat(); } - $nameIdValue = [$nameId->getValue()]; + $nameIdValue = $nameId->getValue(); SimpleSAML\Logger::info('[aa] Received attribute query for '.$nameIdValue.' (nameIdFormat: '.$nameIdFormat.')');