Commit 1988983c authored by Christophe Maudoux's avatar Christophe Maudoux 🐛

Typo

parent 6f3bdfd9
......@@ -129,7 +129,7 @@ sub run {
my $url = $req->uri();
# Session ID
my $session_id = $req->{sessionInfo}->{_session_id} || $req->{id};
my $session_id = $req->{sessionInfo}->{_session_id} || $req->id;
# Session creation timestamp
my $time = $req->{sessionInfo}->{_utime} || time();
......@@ -400,7 +400,7 @@ sub logout {
my ( $self, $req ) = @_;
# Session ID
my $session_id = $req->{sessionInfo}->{_session_id} || $req->{id};
my $session_id = $req->{sessionInfo}->{_session_id} || $req->id;
# Delete linked CAS sessions
$self->deleteCasSecondarySessions($session_id) if ($session_id);
......
......@@ -44,7 +44,7 @@ sub run {
}
# Session ID
my $session_id = $req->{sessionInfo}->{_session_id} || $self->{id};
my $session_id = $req->{sessionInfo}->{_session_id} || $req->id;
# Session creation timestamp
my $time = $req->{sessionInfo}->{_utime} || time();
......
......@@ -211,7 +211,7 @@ sub run {
}
# Session ID
my $session_id = $req->{sessionInfo}->{_session_id} || $req->{id};
my $session_id = $req->{sessionInfo}->{_session_id} || $req->id;
# Session creation timestamp
my $time = $req->{sessionInfo}->{_utime} || time();
......@@ -1268,7 +1268,7 @@ sub logout {
return PE_OK if ( $req->data->{samlSLOCalled} );
# Session ID
my $session_id = $req->{sessionInfo}->{_session_id} || $req->{id};
my $session_id = $req->{sessionInfo}->{_session_id} || $req->id;
# Close SAML sessions
unless ( $self->deleteSAMLSecondarySessions($session_id) ) {
......
......@@ -514,7 +514,7 @@ sub updateSession {
return () unless ( ref $infos eq 'HASH' and %$infos );
# Recover session ID unless given
$id ||= $req->{id} || $req->userData->{_session_id};
$id ||= $req->id || $req->userData->{_session_id};
if ($id) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment