Bug 36092: Pass the sessionID from checkauth if we hit auth

If we hit the auth page we were not passing sessionID to the template

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2024-02-14 10:33:11 +01:00
parent 1bc2f8cf1b
commit 3a053ebdf9
Signed by: jonathan.druart
GPG key ID: A085E712BEF0E0F0

View file

@ -1483,8 +1483,9 @@ sub checkauth {
$template->param(
LibraryName => C4::Context->preference("LibraryName"),
%info,
sessionID => $session->id,
);
$template->param(%info);
if ( $params->{do_not_print} ) {
# This must be used for testing purpose only!