Skip to content
Snippets Groups Projects
Commit fb6d429b authored by Guy Halse's avatar Guy Halse
Browse files

Make attributes.exclude record its value

parent 7c4d43c0
No related branches found
No related tags found
Loading
...@@ -123,6 +123,7 @@ class sspmod_consent_Auth_Process_Consent extends SimpleSAML_Auth_ProcessingFilt ...@@ -123,6 +123,7 @@ class sspmod_consent_Auth_Process_Consent extends SimpleSAML_Auth_ProcessingFilt
var_export($config['attributes.exclude'], true).' given.' var_export($config['attributes.exclude'], true).' given.'
); );
} }
$this->_noconsentattributes = $config['attributes.exclude'];
} elseif (array_key_exists('noconsentattributes', $config)) { } elseif (array_key_exists('noconsentattributes', $config)) {
SimpleSAML\Logger::warning("The 'noconsentattributes' option has been deprecated in favour of 'attributes.exclude'."); SimpleSAML\Logger::warning("The 'noconsentattributes' option has been deprecated in favour of 'attributes.exclude'.");
if (!is_array($config['noconsentattributes'])) { if (!is_array($config['noconsentattributes'])) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment