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>
Signed-off-by: wainuiwitikapark <wainuiwitikapark@catalyst.net.nz>
This commit is contained in:
Jonathan Druart 2024-02-14 10:33:11 +01:00 committed by Wainui Witika-Park
parent 992c250628
commit a74d80159b
No known key found for this signature in database
GPG Key ID: 2D0A6AB5DAF1B78D
1 changed files with 2 additions and 1 deletions

View File

@ -1475,8 +1475,9 @@ sub checkauth {
$template->param(
LibraryName => C4::Context->preference("LibraryName"),
%info,
sessionID => $session->id,
);
$template->param(%info);
# $cookie = $query->cookie(CGISESSID => $session->id
# );