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

Typo

parent 6f3bdfd9
...@@ -129,7 +129,7 @@ sub run { ...@@ -129,7 +129,7 @@ sub run {
my $url = $req->uri(); my $url = $req->uri();
# Session ID # Session ID
my $session_id = $req->{sessionInfo}->{_session_id} || $req->{id}; my $session_id = $req->{sessionInfo}->{_session_id} || $req->id;
# Session creation timestamp # Session creation timestamp
my $time = $req->{sessionInfo}->{_utime} || time(); my $time = $req->{sessionInfo}->{_utime} || time();
...@@ -400,7 +400,7 @@ sub logout { ...@@ -400,7 +400,7 @@ sub logout {
my ( $self, $req ) = @_; my ( $self, $req ) = @_;
# Session ID # Session ID
my $session_id = $req->{sessionInfo}->{_session_id} || $req->{id}; my $session_id = $req->{sessionInfo}->{_session_id} || $req->id;
# Delete linked CAS sessions # Delete linked CAS sessions
$self->deleteCasSecondarySessions($session_id) if ($session_id); $self->deleteCasSecondarySessions($session_id) if ($session_id);
......
...@@ -44,7 +44,7 @@ sub run { ...@@ -44,7 +44,7 @@ sub run {
} }
# Session ID # Session ID
my $session_id = $req->{sessionInfo}->{_session_id} || $self->{id}; my $session_id = $req->{sessionInfo}->{_session_id} || $req->id;
# Session creation timestamp # Session creation timestamp
my $time = $req->{sessionInfo}->{_utime} || time(); my $time = $req->{sessionInfo}->{_utime} || time();
......
...@@ -211,7 +211,7 @@ sub run { ...@@ -211,7 +211,7 @@ sub run {
} }
# Session ID # Session ID
my $session_id = $req->{sessionInfo}->{_session_id} || $req->{id}; my $session_id = $req->{sessionInfo}->{_session_id} || $req->id;
# Session creation timestamp # Session creation timestamp
my $time = $req->{sessionInfo}->{_utime} || time(); my $time = $req->{sessionInfo}->{_utime} || time();
...@@ -1268,7 +1268,7 @@ sub logout { ...@@ -1268,7 +1268,7 @@ sub logout {
return PE_OK if ( $req->data->{samlSLOCalled} ); return PE_OK if ( $req->data->{samlSLOCalled} );
# Session ID # Session ID
my $session_id = $req->{sessionInfo}->{_session_id} || $req->{id}; my $session_id = $req->{sessionInfo}->{_session_id} || $req->id;
# Close SAML sessions # Close SAML sessions
unless ( $self->deleteSAMLSecondarySessions($session_id) ) { unless ( $self->deleteSAMLSecondarySessions($session_id) ) {
......
...@@ -514,7 +514,7 @@ sub updateSession { ...@@ -514,7 +514,7 @@ sub updateSession {
return () unless ( ref $infos eq 'HASH' and %$infos ); return () unless ( ref $infos eq 'HASH' and %$infos );
# Recover session ID unless given # Recover session ID unless given
$id ||= $req->{id} || $req->userData->{_session_id}; $id ||= $req->id || $req->userData->{_session_id};
if ($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