]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 19 Mar 2024 15:03:54 +0000 (15:03 +0000)
commite19e066b4aa5635e0b53d3351d6c92c68cf20b97
treee525d05224e911bd771249a69ebe565f8377cbd6
parent7c0844109d62f16e1c1b7ba816b6ed7395de8b35
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>
C4/Auth.pm
Koha/Session.pm [new file with mode: 0644]
t/db_dependent/Koha/Session.t [new file with mode: 0755]