]> git.koha-community.org Git - koha.git/commit
Bug 36098: Add Koha::Session module to ease session handling
authorDavid Cook <dcook@prosentient.com.au>
Thu, 15 Feb 2024 02:49:18 +0000 (02:49 +0000)
committerFrédéric Demians <f.demians@tamil.fr>
Wed, 3 Apr 2024 08:00:23 +0000 (08:00 +0000)
commitd917e2fc75a320366ef234a7a56e6a9afc9eb8d8
treeb4b6a7624f276dae84725dabd853e3790fcf13c2
parent82f1e3906cd46d6708b12de6103f4dc42d723854
Bug 36098: Add Koha::Session module to ease session handling

This patch adds a Koha::Session module that makes it easier
to work with Koha sessions without needing the full C4::Auth module.

Test plan:
0. Apply the patch
1. Run the following unit tests:
prove ./t/db_dependent/Auth.t
prove ./t/db_dependent/Auth_with_cas.t
prove ./t/db_dependent/Koha/Session.t
2. Observe that they all pass

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 0e6537d199fe49a9e91e1c75f9462ddf1c878fed)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit f927343a88ade7cf3fe860b60c41057e6ff39692)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit e19e066b4aa5635e0b53d3351d6c92c68cf20b97)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
C4/Auth.pm
Koha/Session.pm [new file with mode: 0644]
t/db_dependent/Koha/Session.t [new file with mode: 0755]