[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 14:24:52 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29957
Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #131827|0 |1
is obsolete| |
--- Comment #70 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 131842
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131842&action=edit
Bug 29957: Adjust push @$cookie statements in Auth
We can now use $cookie_mgr->replace_in_list instead. This
effectively removes duplicates and keeps the newest cookie.
Test plan:
Run t/db_dependent/Auth.t
Add removable_cookie entries in koha-conf for:
form_serialized, form_serialized_limits
(Note: these are js cookies, no httponly flag.)
Login at OPAC.
If you are using the same domain, check if you are logged in on the
staff client too.
Go back to OPAC, perform an Advanced search.
Check cookies on browser dev console. Look for the 2 form_ cookies.
Go to staff. Logout
Go to OPAC. Check cookies in dev console. Are you logged out?
Login at staff again. Hit some pages in the staff client and verify
that they respond as expected.
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list