|
Lines 70-88
Link Here
|
| 70 |
[% END %] |
70 |
[% END %] |
| 71 |
|
71 |
|
| 72 |
[% IF too_many_login_attempts %] |
72 |
[% IF too_many_login_attempts %] |
| 73 |
<div id="login_error"><strong>Error: </strong>This account has been locked!</div> |
73 |
<div id="login_error"> |
| 74 |
[% IF Categories.can_any_reset_password && Koha.Preference('OpacBaseURL') %] |
74 |
<strong>Error: </strong> |
| 75 |
<a href="[% Koha.Preference('OpacBaseURL') | url %]/cgi-bin/koha/opac-password-recovery.pl">You must reset your password</a>. |
75 |
This account has been locked! |
| 76 |
[% END %] |
76 |
[% IF Categories.can_any_reset_password && Koha.Preference('OpacBaseURL') %] |
|
|
77 |
<a href="[% Koha.Preference('OpacBaseURL') | url %]/cgi-bin/koha/opac-password-recovery.pl">Reset your password</a>. |
| 78 |
[% END %] |
| 79 |
</div> |
| 77 |
[% ELSIF password_has_expired %] |
80 |
[% ELSIF password_has_expired %] |
| 78 |
<div id="login_error"><strong>Error: </strong>Your password has expired!</div> |
81 |
<div id="login_error"> |
| 79 |
[% IF Koha.Preference('EnableExpiredPasswordReset') && Koha.Preference('OpacBaseURL') %] |
82 |
<strong>Error: </strong> |
| 80 |
<a href="[% Koha.Preference('OpacBaseURL') | url %]/cgi-bin/koha/opac-reset-password.pl">You must reset your password</a>. |
83 |
Your password has expired! |
| 81 |
[% ELSIF Categories.can_any_reset_password && Koha.Preference('OpacBaseURL') %] |
84 |
[% IF Koha.Preference('EnableExpiredPasswordReset') && Koha.Preference('OpacBaseURL') %] |
| 82 |
<a href="[% Koha.Preference('OpacBaseURL') | url %]/cgi-bin/koha/opac-password-recovery.pl">You must reset your password</a>. |
85 |
<a href="[% Koha.Preference('OpacBaseURL') | url %]/cgi-bin/koha/opac-reset-password.pl">Reset your password</a>. |
| 83 |
[% ELSE %] |
86 |
[% ELSIF Categories.can_any_reset_password && Koha.Preference('OpacBaseURL') %] |
| 84 |
<p>You must contact the library to reset your password</p> |
87 |
<a href="[% Koha.Preference('OpacBaseURL') | url %]/cgi-bin/koha/opac-password-recovery.pl">Reset your password</a>. |
| 85 |
[% END %] |
88 |
[% ELSE %] |
|
|
89 |
<p>You must contact the library to reset your password</p> |
| 90 |
[% END %] |
| 91 |
</div> |
| 86 |
[% ELSIF invalid_username_or_password %] |
92 |
[% ELSIF invalid_username_or_password %] |
| 87 |
<div id="login_error"><strong>Error: </strong>Invalid username or password</div> |
93 |
<div id="login_error"><strong>Error: </strong>Invalid username or password</div> |
| 88 |
[% ELSIF is_anonymous_patron %] |
94 |
[% ELSIF is_anonymous_patron %] |
| 89 |
- |
|
|