From 5dcac8523cf797967bc0a7448fb328d0f20997b9 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 12 Jul 2021 13:29:27 +0000 Subject: [PATCH] Bug 28679: Unable to click "Log in to your account" when GoogleOpenIDConnect is enabled This patch corrects the login link in the OPAC when GoogleOpenIDConnect is enabled. It removes modal-related markup which was causing the link to fail. To test, apply the patch and enable the GoogleOpenIDConnect system preference. - In the OPAC, click the "Log in to your account" link in the header. You should be redirected to a Google authentication form. - Disable the GoogleOpenIDConnect preference. The login link in the OPAC should trigger a modal login form. Signed-off-by: Lucas Gass Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc index e44ae2f111..40edbee41c 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc @@ -98,7 +98,7 @@ [%# CAS authentication is too complicated for modal window %] [% ELSIF ( Koha.Preference('GoogleOpenIDConnect') == 1 ) %] - + [% ELSE %] [% END %] -- 2.39.5