Check if request is defined before calling ID (#397)
This commit is contained in:
parent
14e4acc8b0
commit
d0036913ea
|
@ -2460,6 +2460,11 @@ sub sendLogoutRequestToProvider {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
unless ( $logout->request() ) {
|
||||||
|
$self->lmLog( "Unable to create SAML request", 'error' );
|
||||||
|
return ( 0, $method, undef );
|
||||||
|
}
|
||||||
|
|
||||||
# Keep message ID in memory to prevent replay
|
# Keep message ID in memory to prevent replay
|
||||||
my $samlID = $logout->request()->ID;
|
my $samlID = $logout->request()->ID;
|
||||||
unless ( $self->storeReplayProtection($samlID) ) {
|
unless ( $self->storeReplayProtection($samlID) ) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user