Skip to content
Snippets Groups Projects
Commit 8cd71966 authored by Jaime Pérez's avatar Jaime Pérez
Browse files

bugfix: When obtaining a UserID for the state array prior to running authproc...

bugfix: When obtaining a UserID for the state array prior to running authproc filters, if the source attribute had multiple values a warning was logged but the UserID was still recorded.
parent 936d03db
No related branches found
No related tags found
No related merge requests found
...@@ -344,6 +344,7 @@ class SimpleSAML_Auth_ProcessingChain { ...@@ -344,6 +344,7 @@ class SimpleSAML_Auth_ProcessingChain {
if (count($uid) > 1) { if (count($uid) > 1) {
SimpleSAML\Logger::warning('Multiple attribute values for user id attribute [' . $attributeName . '].'); SimpleSAML\Logger::warning('Multiple attribute values for user id attribute [' . $attributeName . '].');
return;
} }
$uid = $uid[0]; $uid = $uid[0];
......
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