Bugzilla – Attachment 69654 Details for
Bug 19570
autocomplete="off" no set for login forms at the OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19570: Add autocomplete='off' for login forms at the opac
Bug-19570-Add-autocompleteoff-for-login-forms-at-t.patch (text/plain), 5.61 KB, created by
Jonathan Druart
on 2017-12-08 18:02:32 UTC
(
hide
)
Description:
Bug 19570: Add autocomplete='off' for login forms at the opac
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-12-08 18:02:32 UTC
Size:
5.61 KB
patch
obsolete
>From 41679f79ccd3f40ffafe88ccf8ffba49668cb2e0 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 2 Nov 2017 16:24:00 -0300 >Subject: [PATCH] Bug 19570: Add autocomplete='off' for login forms at the opac > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt | 4 ++-- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt | 2 +- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-passwd.tt | 4 ++-- > .../opac-tmpl/bootstrap/en/modules/opac-registration-confirmation.tt | 2 +- > 4 files changed, 6 insertions(+), 6 deletions(-) > >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 31cfbc63c5..cfcc57d3ed 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt >@@ -157,9 +157,9 @@ > [% END %] > > [% IF SCO_login %] >- <form action="/cgi-bin/koha/sco/sco-main.pl" name="auth" id="auth" method="post"> >+ <form action="/cgi-bin/koha/sco/sco-main.pl" name="auth" id="auth" method="post" autocomplete="off"> > [% ELSE %] >- <form action="[% script_name %]" name="auth" id="auth" method="post"> >+ <form action="[% script_name %]" name="auth" id="auth" method="post" autocomplete="off"> > [% END %] > <input type="hidden" name="koha_login_context" value="opac" /> > <fieldset class="brief"> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >index 9181a205ab..26aae2d891 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >@@ -127,7 +127,7 @@ > <div class="alert" id="extended_unique_id_failed"><a href="#patron-attr-start-[% extended_unique_id_failed_code %]">[% extended_unique_id_failed_description _ ': ' %]</a> Value is already in use ([% extended_unique_id_failed_value %])</div> > [% END %] > >- <form method="post" action="/cgi-bin/koha/opac-memberentry.pl" id="memberentry-form"> >+ <form method="post" action="/cgi-bin/koha/opac-memberentry.pl" id="memberentry-form" autocomplete="off"> > > [%# Following on one line for translatability %] > [% UNLESS ( hidden.defined('cardnumber') || ( !borrower && Koha.Preference('autoMemberNum') ) ) && hidden.defined('dateexpiry') && hidden.defined('branchcode') && hidden.defined('categorycode') %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-passwd.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-passwd.tt >index cc04d35c60..b2e288695a 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-passwd.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-passwd.tt >@@ -52,7 +52,7 @@ > [% IF ( OpacPasswordChange ) %] > [% IF ( Ask_data ) %] > >- <form action="/cgi-bin/koha/opac-passwd.pl" name="mainform" id="mainform" method="post"> >+ <form action="/cgi-bin/koha/opac-passwd.pl" name="mainform" id="mainform" method="post" autocomplete="off"> > <fieldset> > [% UNLESS ( ShortPass ) %]<div class="alert alert-info">Your password must be at least [% minPasswordLength%] characters long.</div>[% END %] > <label for="Oldkey">Current password:</label> <input type="password" id="Oldkey" size="25" name="Oldkey" /> >@@ -71,7 +71,7 @@ > <h1>Password updated</h1> > Your password has been changed > </div> >- <form action="/cgi-bin/koha/opac-user.pl" method="post"> >+ <form action="/cgi-bin/koha/opac-user.pl" method="post" autocomplete="off"> > <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> > <p><input type="submit" class="btn" value="Return to your record" /></p> > </form> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-confirmation.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-confirmation.tt >index 7ce46b7947..8ea580c5da 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-confirmation.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-confirmation.tt >@@ -66,7 +66,7 @@ > [% UNLESS ( loggedinusername ) %] > [% UNLESS ( casAuthentication ) %] > <div id="login"> >- <form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="auth"> >+ <form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="auth" autocomplete="off"> > <input type="hidden" name="koha_login_context" value="opac" /> > <fieldset class="brief"> > <legend>Log in to your account:</legend> >-- >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 19570
:
68901
|
68981
|
69217
|
69218
|
69373
|
69374
| 69654 |
69655