View | Details | Raw Unified | Return to bug 37887
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-password-recovery.tt (+1 lines)
Lines 151-156 Link Here
151
                        [% UNLESS ( errLinkNotValid ) %]
151
                        [% UNLESS ( errLinkNotValid ) %]
152
                            <form id="mainform" name="mainform" action="/cgi-bin/koha/opac-password-recovery.pl" method="post" autocomplete="off">
152
                            <form id="mainform" name="mainform" action="/cgi-bin/koha/opac-password-recovery.pl" method="post" autocomplete="off">
153
                                [% INCLUDE 'csrf-token.inc' %]
153
                                [% INCLUDE 'csrf-token.inc' %]
154
                                <input type="hidden" name="op" value="cud-reset_password" />
154
                                <legend class="sr-only">Password not valid</legend>
155
                                <legend class="sr-only">Password not valid</legend>
155
                                <input type="hidden" name="koha_login_context" value="opac" />
156
                                <input type="hidden" name="koha_login_context" value="opac" />
156
                                <fieldset class="brief">
157
                                <fieldset class="brief">
(-)a/opac/opac-password-recovery.pl (-2 / +1 lines)
Lines 148-154 if ( $op eq 'cud-sendEmail' || $op eq 'cud-resendEmail' ) { Link Here
148
        );
148
        );
149
    }
149
    }
150
}
150
}
151
elsif ( $query->param('passwordReset') ) {
151
elsif ( $op eq 'cud-reset_password' ) {
152
    ( $borrower_number, $username ) = GetValidLinkInfo($uniqueKey);
152
    ( $borrower_number, $username ) = GetValidLinkInfo($uniqueKey);
153
153
154
    my $error;
154
    my $error;
155
- 

Return to bug 37887