[Koha-bugs] [Bug 31250] Don't remove advanced/basic cataloging editor cookie on logout

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 28 14:46:35 CEST 2022


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

--- Comment #3 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
The referenced bug allows you to specify cookies not to be removed:

See koha-conf.xml

 <!-- Uncomment lines like hereunder to not clear cookies at logout:
      The cookie name is case sensitive.
     <do_not_remove_cookie>KohaOpacLanguage</do_not_remove_cookie>
 -->

The problem is that it sets a cookie for each user:
Cookies.set( 'catalogue_editor_[% logged_in_user.borrowernumber | html %]',
'advanced', { expires: 365, path: '/', sameSite: 'Lax'  } );

Adding a fix for that

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


More information about the Koha-bugs mailing list