User not always known in try subroutine (#2165)

This commit is contained in:
Clément OUDOT 2020-05-04 22:20:17 +02:00
parent 0bf1bfb7dd
commit 7efaf9d5cd
1 changed files with 2 additions and 3 deletions

View File

@ -219,9 +219,8 @@ sub try {
# If more than 1 scheme is available
my ( $res, $name );
unless ( ref $stack->[$nb]->[$type] ) {
$self->logger->error( 'Something went wrong in combination for '
. $req->user
. ', unable to find any auth scheme (try == '
$self->logger->error(
'Something went wrong in combination, unable to find any auth scheme (try == '
. ( $nb + 1 )
. ')' );
return PE_ERROR;