Bugzilla – Attachment 47409 Details for
Bug 15343
Allow patrons to choose their own password on self registration.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15343 [QA Follow up] Fix captcha display
Bug-15343-QA-Follow-up-Fix-captcha-display.patch (text/plain), 1.67 KB, created by
Mirko Tietgen
on 2016-01-28 20:04:30 UTC
(
hide
)
Description:
Bug 15343 [QA Follow up] Fix captcha display
Filename:
MIME Type:
Creator:
Mirko Tietgen
Created:
2016-01-28 20:04:30 UTC
Size:
1.67 KB
patch
obsolete
>From d047ed04dca2b0cfb23eaa8929d8e25c102906b9 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >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 <jweaver@bywatersolutions.com> >Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net> >--- > 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 a57ab0c..7ef1f5ba 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 @@ > </ol> > [% END %] > </fieldset> >+ [% END %] > >+ [% UNLESS action == 'edit' %] > <fieldset class="rows" id="memberentry_captcha"> > <ol> > >diff --git a/opac/opac-memberentry.pl b/opac/opac-memberentry.pl >index da9e186..66bbb86 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.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 15343
:
45861
|
45866
|
45867
|
45868
|
45869
|
46705
|
46737
|
47320
|
47321
|
47322
|
47407
|
47408
|
47409
|
47705
|
47794
|
47795
|
47796
|
47797