add warning when SAML user attribute was not found

This commit is contained in:
Maxime Besson 2021-09-29 15:25:13 +02:00
parent b15d45d4ad
commit 806ef6c1ed

View File

@ -342,9 +342,13 @@ sub extractFormInfo {
$self->logger->debug(
"Found value $value for attribute $userAttribute");
}
else {
$self->logger->warn( "No value for $userAttribute"
. " found in SAML assertion" );
}
}
else {
$self->logger->debug(
$self->logger->warn(
"No attributes found in SAML assertion");
}
}