Fix bad usage of constants (#1449)

This commit is contained in:
Xavier Guimard 2018-06-13 06:34:08 +02:00
parent e67d51156a
commit 2f008fc490
1 changed files with 2 additions and 1 deletions

View File

@ -1089,7 +1089,8 @@ sub soapSloServer {
# Get session index
my $sessionIndexSession = $self->getSamlSession($session_index);
return PE_SAML_SESSION_ERROR unless $sessionIndexSession;
return $self->p->sendError( $req, 'SAML session not found', 400 )
unless $sessionIndexSession;
my $local_session_id = $sessionIndexSession->data->{_saml_id};