Bugzilla – Attachment 72901 Details for
Bug 19660
Set borrower password on first login from self registration
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19660: Follow up to fix password field on the registration page
Bug-19660-Follow-up-to-fix-password-field-on-the-r.patch (text/plain), 3.23 KB, created by
Mark Tompsett
on 2018-03-15 01:05:53 UTC
(
hide
)
Description:
Bug 19660: Follow up to fix password field on the registration page
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2018-03-15 01:05:53 UTC
Size:
3.23 KB
patch
obsolete
>From 23dfd3f2019acd3271a2381401ca18e71d350b87 Mon Sep 17 00:00:00 2001 >From: Jenny Way <jwayway@hotmail.com> >Date: Thu, 18 Jan 2018 22:40:53 +0000 >Subject: [PATCH] Bug 19660: Follow up to fix password field on the > registration page > >This is a follow up patch to fix the password field on the registration >complete page. >Please upload this patch along with the previous version :) >Test plan: >1. Apply this patch >2. The password field has the pregenerated password if the syspref is >enabled >3. Before the patch the password was displayed on the screen in a span >tag > >Signed-off-by: Laurence Rault <laurence.rault@biblibre.com> > >Signed-off-by: Mark Tompsett <mtompset@hotmail.com> >--- > .../en/modules/opac-registration-confirmation.tt | 17 +++++++++-------- > 1 file changed, 9 insertions(+), 8 deletions(-) > >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 4dc95c6..1f6b221 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 >@@ -155,14 +155,15 @@ > [% ELSE %] > <input type="text" id="userid" size="10" name="userid" value="" /> > [% END %] >- <p id="patron-password-p"> >- <span id="patron-password-label">Password:</span> >- <span id="patron-password">[% password_cleartext | html %]</span> >- </p> >- >- <fieldset class="action"> >- <input type="submit" value="Log in" class="btn" /> >- </fieldset> >+ <label for="password">Password:</label> >+ [% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %] >+ <input type="password" id="password" size="10" name="password" value="[% password_cleartext | html %]" /> >+ [% ELSE %] >+ <input type="password" id="password" size="10" name="password" value="" /> >+ [% END %] >+ <fieldset class="action"> >+ <input type="submit" value="Log in" class="btn" /> >+ </fieldset> > [% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %] > <div id="patronregistration"> > <p>Don't have an account? <a href="/cgi-bin/koha/opac-memberentry.pl">Register here.</a></p> >-- >2.1.4
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 19660
:
70596
|
70727
|
72900
| 72901