From 3a053ebdf94795120eb5322c6c45121489b2f583 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: Jonathan Druart --- C4/Auth.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/C4/Auth.pm b/C4/Auth.pm index 01604fae88..5fe59f43c6 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -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! -- 2.39.5