From 1c8b32c8410a000c1ea0856a1bdab589d54bf91a Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Wed, 29 May 2019 09:53:52 +0200 Subject: [PATCH] Use a prefix to obtain the nameid format Signed-off-by: Roeland Jago Douma --- lib/SAMLSettings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/SAMLSettings.php b/lib/SAMLSettings.php index a400ef6..0cde99a 100644 --- a/lib/SAMLSettings.php +++ b/lib/SAMLSettings.php @@ -125,7 +125,7 @@ class SAMLSettings { 'assertionConsumerService' => [ 'url' => $this->urlGenerator->linkToRouteAbsolute('user_saml.SAML.assertionConsumerService'), ], - 'NameIDFormat' => $this->config->getAppValue('user_saml', 'sp-name-id-format', Constants::NAMEID_UNSPECIFIED) + 'NameIDFormat' => $this->config->getAppValue('user_saml', $prefix . 'sp-name-id-format', Constants::NAMEID_UNSPECIFIED) ], 'idp' => [ 'entityId' => $this->config->getAppValue('user_saml', $prefix . 'idp-entityId', ''),