Bug 18314: Add link to 'reset your password' from staff
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 28 Apr 2017 20:15:40 +0000 (17:15 -0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 12 May 2017 14:59:05 +0000 (10:59 -0400)
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt

index 7d67165..f9ce8f8 100644 (file)
 [% END %]
 
 [% IF too_many_login_attempts %]
-<div id="login_error"><strong>Error: </strong>This account has been locked!</div>
+    <div id="login_error"><strong>Error: </strong>This account has been locked!</div>
+    [% IF Koha.Preference('OpacResetPassword') %]
+        <a href="/cgi-bin/koha/opac-password-recovery.pl">You must reset your password</a>.
+    [% END %]
 [% ELSIF invalid_username_or_password %]
 <div id="login_error"><strong>Error: </strong>Invalid username or password</div>
 [% END %]