From e9a344e857a4ac80a579b525959584e9480516dc 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. --- 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 b58703b8d0..823c24dce0 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 %] Log in to your account [% ELSIF ( Koha.Preference('GoogleOpenIDConnect') == 1 ) %] - Log in to your account + Log in to your account [% ELSE %] Log in to your account [% END %] -- 2.20.1