Improve code (#1664)

This commit is contained in:
Christophe Maudoux 2019-07-06 22:59:16 +02:00
parent 619ea8258f
commit d0da10b375

View File

@ -119,8 +119,7 @@ sub run {
$self->logger->debug("Populating spoof session...");
foreach (qw (_auth _userDB)) {
$self->logger->debug("Processing $_...");
my $spk = "$self->{conf}->{impersonationPrefix}$_";
$spoofSession->{$_} = $realSession->{$spk};
$spoofSession->{$_} = $realSession->{"$self->{conf}->{impersonationPrefix}$_"};
}
# Merging SSO Groups and hGroups & dedup