]> git.koha-community.org Git - koha.git/commit
Bug 28679: Unable to click "Log in to your account" when GoogleOpenIDConnect is enabled
authorOwen Leonard <oleonard@myacpl.org>
Mon, 12 Jul 2021 13:29:27 +0000 (13:29 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 3 Aug 2021 01:22:07 +0000 (15:22 -1000)
commit4f391f418e19e83274b188c73ee452c9eacc7ecd
treefd098831b1eefa32dadfafa6ecea6842f7a8e8be
parent3fb7b999373f5adc632674daedd6df655ab8fbc0
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 <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 16965456b136b4d92651756623f64cf9510f0212)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc