]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 26 Jul 2021 08:39:11 +0000 (10:39 +0200)
commit5dcac8523cf797967bc0a7448fb328d0f20997b9
tree2acee3a41724c2423201e94975581cb391423e54
parentdcc8229e13a20eaaf598b251c88e693a781a93af
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>
koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc