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)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 30 Jul 2021 13:24:13 +0000 (09:24 -0400)
commit16965456b136b4d92651756623f64cf9510f0212
treeaa1527a68e2623d586ba7686a2e629038c92645e
parent1668bd85579fd0020ca763b4a990ba896b0538e9
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>
koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc