Auth::SAML: fix warning on empty session index (#2291)

This commit is contained in:
Maxime Besson 2020-08-24 17:24:55 +02:00
parent 8adc7f062b
commit a7b09f8dbb

View File

@ -1270,7 +1270,8 @@ sub authFinish {
$self->logger->debug( "Store NameID "
. $nameid->dump
. " and SessionIndex $session_index for session $id" );
. ( $session_index ? " and SessionIndex $session_index" : "" )
. " for session $id" );
my $infos;
$infos->{type} = 'saml'; # Session type