From 22280fdb81c24c66aee359483e383cdccda4b4de Mon Sep 17 00:00:00 2001 From: root Date: Tue, 13 Feb 2018 15:33:12 +0100 Subject: [PATCH] Bug 20187: Add another KOHA_VERSION in C4/Auth Content-Type: text/plain; charset=utf-8 Needed when logging out and in again.. Signed-off-by: Marcel de Rooy --- C4/Auth.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Auth.pm b/C4/Auth.pm index 9942593..c3ad351 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -1265,6 +1265,7 @@ sub checkauth { PatronSelfRegistrationDefaultCategory => C4::Context->preference("PatronSelfRegistrationDefaultCategory"), opac_css_override => $ENV{'OPAC_CSS_OVERRIDE'}, too_many_login_attempts => ( $patron and $patron->account_locked ), + KOHA_VERSION => C4::Context->preference('Version'), ); $template->param( SCO_login => 1 ) if ( $query->param('sco_user_login') ); -- 2.1.4