From b190bae7b84f6f964b5014a526af86a9bf402aaa Mon Sep 17 00:00:00 2001 From: Thijs Kinkhorst <thijs@kinkhorst.com> Date: Wed, 18 Aug 2021 05:27:59 +0000 Subject: [PATCH] Bugfix for missing contacts in displayed hosted SP metadata --- modules/saml/lib/Auth/Source/SP.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/saml/lib/Auth/Source/SP.php b/modules/saml/lib/Auth/Source/SP.php index 2ddec884c..a9e4c89b2 100644 --- a/modules/saml/lib/Auth/Source/SP.php +++ b/modules/saml/lib/Auth/Source/SP.php @@ -188,7 +188,7 @@ class SP extends \SimpleSAML\Auth\Source } // add contacts - $contacts = $this->metadata->getArray('contact', []); + $contacts = $this->metadata->getArray('contacts', []); foreach ($contacts as $contact) { $metadata['contacts'][] = Utils\Config\Metadata::getContact($contact); } -- GitLab