From fb6d429ba1cc7b519e000c4d81395a3fc141a4ee Mon Sep 17 00:00:00 2001
From: Guy Halse <guy@tenet.ac.za>
Date: Tue, 29 May 2018 14:44:35 +0200
Subject: [PATCH] Make attributes.exclude record its value

---
 modules/consent/lib/Auth/Process/Consent.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/consent/lib/Auth/Process/Consent.php b/modules/consent/lib/Auth/Process/Consent.php
index 203666e65..8ae51c100 100644
--- a/modules/consent/lib/Auth/Process/Consent.php
+++ b/modules/consent/lib/Auth/Process/Consent.php
@@ -123,6 +123,7 @@ class sspmod_consent_Auth_Process_Consent extends SimpleSAML_Auth_ProcessingFilt
                     var_export($config['attributes.exclude'], true).' given.'
                 );
             }
+            $this->_noconsentattributes = $config['attributes.exclude'];
         } elseif (array_key_exists('noconsentattributes', $config)) {
             SimpleSAML\Logger::warning("The 'noconsentattributes' option has been deprecated in favour of 'attributes.exclude'.");
             if (!is_array($config['noconsentattributes'])) {
-- 
GitLab