Use whatToTrace (#2336)

This commit is contained in:
Clément OUDOT 2020-10-04 17:02:55 +02:00
parent fd5170c945
commit 2c9ef41c2c

View File

@ -35,7 +35,7 @@ sub init {
sub adaptAuthenticationLevel {
my ( $self, $req ) = @_;
my $userid = $req->user;
my $userid = $req->sessionInfo->{ $self->conf->{whatToTrace} };
$self->logger->debug("Check adaptative authentication rules for $userid");
my $authenticationLevel = $req->sessionInfo->{authenticationLevel};