Bug 34478: Fix new forms
New forms that need to be fixed after rebase. Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
9ff45ceaf6
commit
8bde9000fb
|
|
@ -53,7 +53,7 @@
|
|||
<form action="/cgi-bin/koha/opac-registration-verify.pl" method="post" name="confirm_registration" id="confirm_registration">
|
||||
[% INCLUDE 'csrf-token.inc' %]
|
||||
<input type="hidden" name="token" value="[% token | html %]">
|
||||
<input type="hidden" name="op" value="confirmed">
|
||||
<input type="hidden" name="op" value="cud-confirmed">
|
||||
<input type="submit" value="Confirm" class="btn btn-primary">
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ unless ( C4::Context->preference('PatronSelfRegistration') ) {
|
|||
my $token = $cgi->param('token');
|
||||
my $op = $cgi->param('op');
|
||||
my $confirmed;
|
||||
if ( $op && $op eq 'confirmed' ) {
|
||||
if ( $op && $op eq 'cud-confirmed' ) {
|
||||
$confirmed = 1;
|
||||
}
|
||||
my $m = Koha::Patron::Modifications->find( { verification_token => $token } );
|
||||
|
|
|
|||
Loading…
Reference in New Issue