From 5a9b271ba2bfd22fe265b7829110992d6839d198 Mon Sep 17 00:00:00 2001 From: Thijs Kinkhorst <thijs@kinkhorst.com> Date: Fri, 10 Sep 2021 15:45:40 +0000 Subject: [PATCH] Supported NameIDFormats is arrayized, then also return the default in array form --- modules/saml/lib/IdP/SAML2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/saml/lib/IdP/SAML2.php b/modules/saml/lib/IdP/SAML2.php index 84ec8e2ed..111bf3d70 100644 --- a/modules/saml/lib/IdP/SAML2.php +++ b/modules/saml/lib/IdP/SAML2.php @@ -775,7 +775,7 @@ class SAML2 'entityid' => $entityid, 'SingleSignOnService' => $sso, 'SingleLogoutService' => $slo, - 'NameIDFormat' => $config->getArrayizeString('NameIDFormat', Constants::NAMEID_TRANSIENT), + 'NameIDFormat' => $config->getArrayizeString('NameIDFormat', [Constants::NAMEID_TRANSIENT]), ]; $cryptoUtils = new Utils\Crypto(); -- GitLab