Commit e972c82a authored by Clément OUDOT's avatar Clément OUDOT

Do not try to delete session with double cookie in single session (#LEMONLDAP-1059)

git-svn-id: svn://svn.forge.objectweb.org/svnroot/lemonldap/branches/lemonldap-ng_version_1_4-bugfixes@5326 1dbb9719-a921-0410-b57f-c3a383c2c641
parent 524b187d
......@@ -1233,7 +1233,9 @@ sub _deleteSession {
if ( $self->{securedCookie} >= 2 ) {
# Try to find a linked http session (securedCookie == 2)
if ( my $id2 = $session->data->{_httpSession} ) {
if ( $self->{securedCookie} == 2
and my $id2 = $session->data->{_httpSession} )
{
if ( my $session2 = $self->getApacheSession( $id2, 1 ) ) {
$session2->remove;
if ( $session2->error ) {
......
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