From a137b170c0f4bac8fdd69dd4e9fe6e46c60edd59 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 21 Feb 2020 21:11:37 +0000 Subject: [PATCH] Bug 24711: Don't add logout input to login form To test: 1 - Set OpacPublic syspref to 'Disable' 2 - Log in to OPAC 3 - Log out 4 - Try to log in again 5 - No error, but you get the login form again 6 - Apply patch 7 - Repeat 8 - This time you can log in again Signed-off-by: David Nind Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize Signed-off-by: Joy Nelson --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt | 1 + 1 file changed, 1 insertion(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt index 982817b158..bbd4c57577 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt @@ -161,6 +161,7 @@
[% FOREACH INPUT IN INPUTS %] + [% NEXT IF INPUT.name == 'logout.x' %] [% END %] -- 2.39.5