Skip to content
Snippets Groups Projects
Commit 46cb12c8 authored by Jaime Pérez Crespo's avatar Jaime Pérez Crespo
Browse files

Move the "userid.attribute" deprecation notice to a debug level instead of warning.

parent 9da3add9
No related branches found
No related tags found
No related merge requests found
......@@ -336,10 +336,10 @@ class ProcessingChain
if (isset($state['Destination']['userid.attribute'])) {
$attributeName = $state['Destination']['userid.attribute'];
\SimpleSAML\Logger::warning("The 'userid.attribute' option has been deprecated.");
\SimpleSAML\Logger::debug("The 'userid.attribute' option has been deprecated.");
} elseif (isset($state['Source']['userid.attribute'])) {
$attributeName = $state['Source']['userid.attribute'];
\SimpleSAML\Logger::warning("The 'userid.attribute' option has been deprecated.");
\SimpleSAML\Logger::debug("The 'userid.attribute' option has been deprecated.");
} else {
// Default attribute
$attributeName = 'eduPersonPrincipalName';
......
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