From 21745ec3f7c84e1868144733714a0e7d99c0bcfc Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 15 Jan 2016 15:53:30 +0000 Subject: [PATCH] Bug 15343 [QA Follow up] Fix captcha display Make captcha visible even if password field is hidden Remove password confirmation field before submitting modification Signed-off-by: Jesse Weaver Signed-off-by: Mirko Tietgen Signed-off-by: Jonathan Druart Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt | 2 ++ opac/opac-memberentry.pl | 1 + 2 files changed, 3 insertions(+) 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 a57ab0c72f..7ef1f5bacf 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt @@ -814,7 +814,9 @@ [% END %] + [% END %] + [% UNLESS action == 'edit' %]
    diff --git a/opac/opac-memberentry.pl b/opac/opac-memberentry.pl index a453f75144..03ae18e382 100755 --- a/opac/opac-memberentry.pl +++ b/opac/opac-memberentry.pl @@ -80,6 +80,7 @@ if ( $action eq 'create' ) { my @empty_mandatory_fields = CheckMandatoryFields( \%borrower, $action ); my $invalidformfields = CheckForInvalidFields(\%borrower); + delete $borrower{'password2'}; if (@empty_mandatory_fields || @$invalidformfields) { $template->param( -- 2.39.5