[Koha-bugs] [Bug 29957] Cookies not removed after logout

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 17 11:12:59 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29957

--- Comment #65 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
The last patch deals with this funny code part in check_api_auth:

        my $cookie = $query->cookie(
            -name     => 'CGISESSID',
            -value    => $session->id,
            -HttpOnly => 1,
            -secure => ( C4::Context->https_enabled() ? 1 : 0 ),
        );
        return ( $return, undef, $session );

This is useless code. In this statement we can simply return the created
$cookie instead.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list