]> git.koha-community.org Git - koha.git/commit
Bug 33879: Do no longer overwrite interface in check_cookie_auth
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 1 Jun 2023 13:03:50 +0000 (13:03 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 5 Jul 2023 15:17:25 +0000 (12:17 -0300)
commit68aeaf5c4c6aeeca4347995e5f74464929c20ac5
treeda506369d34dd44934277ba39e92099b51509fb1
parenta7fda386475f5d8b9c5866305ab6a4128a9ef584
Bug 33879: Do no longer overwrite interface in check_cookie_auth

This will only have effect on installations running OPAC and staff
on the same domain name. In that case an OPAC cookie still allows
you to access intranet, and v.v.

Test plan:
Repeat the following steps WITHOUT this patch and WITH it.
Login via OPAC.
Go to staff. Perform an action that logs the interface in e.g. the
statistics table, like a checkout.
Inspect interface in the corresponding table. Observe difference
that this patch makes.

With this patch:
Run t/db_dependent/Auth.t. Should pass again.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Björn Nylén <bjorn.nylen@ub.lu.se>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/Auth.pm