Bugzilla – Attachment 99466 Details for
Bug 24711
Can't log in to OPAC after logout if OpacPublic disabled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24711: Don't add logout input to login form
Bug-24711-Dont-add-logout-input-to-login-form.patch (text/plain), 1.42 KB, created by
Katrin Fischer
on 2020-02-23 10:17:28 UTC
(
hide
)
Description:
Bug 24711: Don't add logout input to login form
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-02-23 10:17:28 UTC
Size:
1.42 KB
patch
obsolete
>From a47c30a1ac342903830712dc5dec46be722f4565 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 21 Feb 2020 21:11:37 +0000 >Subject: [PATCH] Bug 24711: Don't add logout input to login form > >To test: >1 - Set OpacPublic syspref to 'Disable' >2 - Log in to OPAC >3 - Log out >4 - Try to log in again >5 - No error, but you get the login form again >6 - Apply patch >7 - Repeat >8 - This time you can log in again > >Signed-off-by: David Nind <david@davidnind.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt >index 982817b158..bbd4c57577 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt >@@ -161,6 +161,7 @@ > <input type="hidden" name="koha_login_context" value="opac" /> > <fieldset class="brief"> > [% FOREACH INPUT IN INPUTS %] >+ [% NEXT IF INPUT.name == 'logout.x' %] > <input type="hidden" name="[% INPUT.name | html %]" value="[% INPUT.value | html %]" /> > [% END %] > <label for="userid">Login</label> >-- >2.11.0
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 24711
:
99453
|
99457
| 99466