From 251a8cf46b2c75614ee2671cf39df6f1f4e90b52 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 3 Jan 2018 16:15:18 -0300 Subject: [PATCH] Bug 19911: Escape password value during self-registration confirmation The password must be correctly escape, it can contains html character and break the display. Test plan: Apply first patch and confirm that the display is broken Apply second patch (this one) and confirm that the display is fixed Signed-off-by: Arturo --- .../opac-tmpl/bootstrap/en/modules/opac-registration-confirmation.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 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 caeec9c..568ab44 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 @@ -42,7 +42,7 @@

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

[% IF borrower.cardnumber %] @@ -78,7 +78,7 @@ [% END %] [% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %] - + [% ELSE %] [% END %] -- 2.7.4