Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/user_saml.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-05-29 10:53:52 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2019-05-29 10:53:52 +0300
commit1c8b32c8410a000c1ea0856a1bdab589d54bf91a (patch)
tree85bcaaac5d02770e5f4de5b4dc2f9cd1fa115ac8 /lib/SAMLSettings.php
parent714c7942d32639d96053717e121fca57b98795f8 (diff)
Use a prefix to obtain the nameid format
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/SAMLSettings.php')
-rw-r--r--lib/SAMLSettings.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/SAMLSettings.php b/lib/SAMLSettings.php
index a400ef67..0cde99a6 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', ''),