Fix CAS log message on service ticket validation error (#2494)

This commit is contained in:
Clément OUDOT 2021-03-25 16:33:48 +01:00
parent 13e7804ea6
commit 55ab4b5a5f

View File

@ -7,7 +7,7 @@ use XML::Simple;
use Lemonldap::NG::Common::UserAgent;
use URI;
our $VERSION = '2.0.8';
our $VERSION = '2.0.12';
# PROPERTIES
@ -397,7 +397,7 @@ sub validateST {
if ( defined $xml->{'cas:authenticationFailure'} ) {
$self->logger->error( "Failed to validate Service Ticket $ticket: "
. $xml->{'cas:authenticationFailure'} );
. $xml->{'cas:authenticationFailure'}->{content} );
return 0;
}