Expose risk level to other plugins (#2593)
This commit is contained in:
parent
a6bcf1b51b
commit
6806864872
|
@ -89,6 +89,7 @@ sub checkNewLocation {
|
|||
. $req->user
|
||||
. " logged in from unknown location $location" );
|
||||
my $riskLevel = ( $req->sessionInfo->{_riskLevel} || 0 ) + 1;
|
||||
$req->sessionInfo->{_riskLevel} = $riskLevel;
|
||||
$req->sessionInfo->{_riskDetails}->{newLocation} =
|
||||
$req->sessionInfo->{ $self->locationDisplayAttribute };
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user