Commit 304216bd authored by Christophe Maudoux's avatar Christophe Maudoux 🐛

Improve code (#1533)

parent 93d16407
......@@ -1519,7 +1519,7 @@ sub _convertOldFormatConsents {
$epoch = $req->{sessionInfo}->{ "_oidc_consent_time_" . $_ };
$rp = $_;
if ( defined $scope and defined $epoch and defined $rp ) {
if ( $scope and $epoch and $rp ) {
$self->logger->debug("Append RP $rp Consent");
push @oidcConsents, { rp => $rp, scope => $scope, epoch => $epoch };
$count++;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment