Bugzilla – Attachment 122780 Details for
Bug 28679
Unable to click "Log in to your account" when GoogleOpenIDConnect is enabled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28679: Unable to click "Log in to your account" when GoogleOpenIDConnect is enabled
Bug-28679-Unable-to-click-Log-in-to-your-account-w.patch (text/plain), 2.37 KB, created by
Owen Leonard
on 2021-07-12 13:34:51 UTC
(
hide
)
Description:
Bug 28679: Unable to click "Log in to your account" when GoogleOpenIDConnect is enabled
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2021-07-12 13:34:51 UTC
Size:
2.37 KB
patch
obsolete
>From e9a344e857a4ac80a579b525959584e9480516dc Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >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 %] > <a class="nav-link login-link" href="/cgi-bin/koha/opac-user.pl"><i class="fa fa-user fa-icon-black fa-fw" aria-hidden="true"></i> <span class="userlabel">Log in to your account</span></a> > [% ELSIF ( Koha.Preference('GoogleOpenIDConnect') == 1 ) %] >- <a class="nav-link login-link" href="/cgi-bin/koha/svc/auth/googleopenidconnect" role="button" data-toggle="modal"><i class="fa fa-user fa-icon-black fa-fw" aria-hidden="true"></i> <span class="userlabel">Log in to your account</span></a> >+ <a class="nav-link login-link" href="/cgi-bin/koha/svc/auth/googleopenidconnect"><i class="fa fa-user fa-icon-black fa-fw" aria-hidden="true"></i> <span class="userlabel">Log in to your account</span></a> > [% ELSE %] > <a href="/cgi-bin/koha/opac-user.pl" class="nav-link login-link loginModal-trigger"><i class="fa fa-user fa-icon-black fa-fw" aria-hidden="true"></i> <span class="userlabel">Log in to your account</span></a> > [% END %] >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 28679
:
122780
|
122928
|
123159