Use whatToTrace (#2336)
This commit is contained in:
parent
fd5170c945
commit
2c9ef41c2c
|
@ -35,7 +35,7 @@ sub init {
|
||||||
sub adaptAuthenticationLevel {
|
sub adaptAuthenticationLevel {
|
||||||
my ( $self, $req ) = @_;
|
my ( $self, $req ) = @_;
|
||||||
|
|
||||||
my $userid = $req->user;
|
my $userid = $req->sessionInfo->{ $self->conf->{whatToTrace} };
|
||||||
$self->logger->debug("Check adaptative authentication rules for $userid");
|
$self->logger->debug("Check adaptative authentication rules for $userid");
|
||||||
|
|
||||||
my $authenticationLevel = $req->sessionInfo->{authenticationLevel};
|
my $authenticationLevel = $req->sessionInfo->{authenticationLevel};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user