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: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 95098d23e0c0bfc5291464a625ff6422b8288888)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Jonathan Druart 2024-02-14 10:33:11 +01:00 committed by Fridolin Somers
parent 6cb4c5839e
commit 1f815b7b1e

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!