[Koha-bugs] [Bug 33879] Cookie_auth overwrites interface set by get_template_and_user

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 1 14:52:34 CEST 2023


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

--- Comment #1 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Use case
If you logged in via OPAC (sharing same domain with intranet), and then switch
to staff side, get_template_and_user gets the correct interface from the staff
script but later on checkauth is called and then check_cookie_auth. The last
one may override the interface with the interface from the cookie (opac in our
example).

This is confusing.

What would be the side-effects if we decide not to overwrite there but only
fill if we have nothing?

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


More information about the Koha-bugs mailing list