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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-password-recovery.tt (+2 lines)
Lines 111-116 Link Here
111
                                <li>Password must contain at least one digit, one lowercase and one uppercase.</li>
111
                                <li>Password must contain at least one digit, one lowercase and one uppercase.</li>
112
                            [% ELSIF password_has_whitespaces %]
112
                            [% ELSIF password_has_whitespaces %]
113
                                <li>Password must not contain leading or trailing whitespaces.</li>
113
                                <li>Password must not contain leading or trailing whitespaces.</li>
114
                            [% ELSIF password_used_before %]
115
                                <li>This password has been used before. You cannot reuse any of your last [% password_history_count | html %] passwords.</li>
114
                            [% ELSIF (errLinkNotValid) %]
116
                            [% ELSIF (errLinkNotValid) %]
115
                                The link you clicked is either invalid, or expired.
117
                                The link you clicked is either invalid, or expired.
116
                                <br />Be sure you used the link from the email, or contact library staff for assistance.
118
                                <br />Be sure you used the link from the email, or contact library staff for assistance.
(-)a/opac/opac-password-recovery.pl (-1 / +2 lines)
Lines 179-184 if ( $op eq 'cud-sendEmail' || $op eq 'cud-resendEmail' ) { Link Here
179
                $error = 'password_has_whitespaces';
179
                $error = 'password_has_whitespaces';
180
            } elsif ( $_->isa('Koha::Exceptions::Password::TooWeak') ) {
180
            } elsif ( $_->isa('Koha::Exceptions::Password::TooWeak') ) {
181
                $error = 'password_too_weak';
181
                $error = 'password_too_weak';
182
            } elsif ($_->isa('Koha::Exceptions::Password::UsedBefore')) {
183
                $error = 'password_used_before';
182
            }
184
            }
183
        };
185
        };
184
    }
186
    }
185
- 

Return to bug 40824