From ced8ad70e23b404d25a2fc27a0fb9e5e40a80e98 Mon Sep 17 00:00:00 2001 From: Jenny Way Date: Thu, 18 Jan 2018 22:40:53 +0000 Subject: [PATCH] Bug-19960 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 https://bugs.koha-community.org/show_bug.cgi?id=19660 --- .../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 %] [% END %] -

- Password: - [% password_cleartext | html %] -

- -
- -
+ + [% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %] + + [% ELSE %] + + [% END %] +
+ +
[% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %]

Don't have an account? Register here.

-- 2.1.4