diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-password-recovery.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-password-recovery.tt index f83859599e..1fefb27964 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-password-recovery.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-password-recovery.tt @@ -151,6 +151,7 @@ [% UNLESS ( errLinkNotValid ) %]
[% INCLUDE 'csrf-token.inc' %] + Password not valid
diff --git a/opac/opac-password-recovery.pl b/opac/opac-password-recovery.pl index 437ec121af..08d1f38262 100755 --- a/opac/opac-password-recovery.pl +++ b/opac/opac-password-recovery.pl @@ -148,7 +148,7 @@ if ( $op eq 'cud-sendEmail' || $op eq 'cud-resendEmail' ) { ); } } -elsif ( $query->param('passwordReset') ) { +elsif ( $op eq 'cud-reset_password' ) { ( $borrower_number, $username ) = GetValidLinkInfo($uniqueKey); my $error;