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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-password-recovery.tt (+2 lines)
Lines 84-89 Link Here
84
                        [% ELSIF (errMultipleAccountsForEmail) %]
84
                        [% ELSIF (errMultipleAccountsForEmail) %]
85
                            Account identification with this email address only is ambiguous.
85
                            Account identification with this email address only is ambiguous.
86
                            <br />Please use the field 'Login' as well.
86
                            <br />Please use the field 'Login' as well.
87
                        [% ELSIF (errNoBorrowerEmail) %]
88
                            This account has no email address we can send the email to.
87
                        [% ELSIF (errAlreadyStartRecovery) %]
89
                        [% ELSIF (errAlreadyStartRecovery) %]
88
                            The process of password recovery has already been started for this account
90
                            The process of password recovery has already been started for this account
89
                            [% IF username %]
91
                            [% IF username %]
(-)a/opac/opac-password-recovery.pl (-7 lines)
Lines 10-16 use C4::Context; Link Here
10
use Koha::Patron::Password::Recovery
10
use Koha::Patron::Password::Recovery
11
  qw(SendPasswordRecoveryEmail ValidateBorrowernumber GetValidLinkInfo CompletePasswordRecovery DeleteExpiredPasswordRecovery);
11
  qw(SendPasswordRecoveryEmail ValidateBorrowernumber GetValidLinkInfo CompletePasswordRecovery DeleteExpiredPasswordRecovery);
12
use Koha::Patrons;
12
use Koha::Patrons;
13
use Koha::Patrons;
14
my $query = CGI->new;
13
my $query = CGI->new;
15
use HTML::Entities;
14
use HTML::Entities;
16
use Try::Tiny;
15
use Try::Tiny;
Lines 42-49 my $errNoBorrowerFound; Link Here
42
my $errNoBorrowerEmail;
41
my $errNoBorrowerEmail;
43
my $errMultipleAccountsForEmail;
42
my $errMultipleAccountsForEmail;
44
my $errAlreadyStartRecovery;
43
my $errAlreadyStartRecovery;
45
my $errTooManyEmailFound;
46
my $errBadEmail;
47
my $errResetForbidden;
44
my $errResetForbidden;
48
45
49
#new password form error
46
#new password form error
Lines 123-133 if ( $query->param('sendEmail') || $query->param('resendEmail') ) { Link Here
123
    if ($hasError) {
120
    if ($hasError) {
124
        $template->param(
121
        $template->param(
125
            hasError                => 1,
122
            hasError                => 1,
126
127
            errNoBorrowerFound      => $errNoBorrowerFound,
123
            errNoBorrowerFound      => $errNoBorrowerFound,
128
            errTooManyEmailFound    => $errTooManyEmailFound,
129
            errAlreadyStartRecovery => $errAlreadyStartRecovery,
124
            errAlreadyStartRecovery => $errAlreadyStartRecovery,
130
            errBadEmail             => $errBadEmail,
131
            errNoBorrowerEmail      => $errNoBorrowerEmail,
125
            errNoBorrowerEmail      => $errNoBorrowerEmail,
132
            errMultipleAccountsForEmail => $errMultipleAccountsForEmail,
126
            errMultipleAccountsForEmail => $errMultipleAccountsForEmail,
133
            errResetForbidden       => $errResetForbidden,
127
            errResetForbidden       => $errResetForbidden,
134
- 

Return to bug 26941