From a74d80159b432d3628b5f4203ac8bcd0e4e83b1c Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 14 Feb 2024 10:33:11 +0100 Subject: [PATCH] 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 Signed-off-by: Martin Renvoize Signed-off-by: wainuiwitikapark --- C4/Auth.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/C4/Auth.pm b/C4/Auth.pm index 444ed3f6dc..a4ebfc47ba 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -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 # );