Bug 21311: (follow-up) Adjust wording of failed login message
Based on the feedback of Jonathan, Katrin, Mark and Martin (thx), adding the general remark that if lockout is enabled, an account may be locked out after x attempts. This does not say that the account on hand is locked or not. Adding a <p> tag between 'Log in'-button and 'Forgot your password' for presentation. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
716301d6f5
commit
e64650216f
1 changed files with 2 additions and 1 deletions
|
@ -60,7 +60,7 @@
|
|||
[% IF invalid_username_or_password || too_many_login_attempts %]
|
||||
<!-- This is what is displayed if user doesnt have permission or account is locked. (Do not expose more information than needed.) -->
|
||||
<div class="alert alert-info">
|
||||
<p>You entered an incorrect username or password. Please try again! And remember, passwords are case sensitive. Please contact a library staff member if you continue to have problems.</p>
|
||||
<p>You entered an incorrect username or password. Please try again! But note that passwords are case sensitive[% IF Koha.Preference('FailedLoginAttempts') %] and that your account will be locked out after a fixed number of failed login attempts[% END %]. Please contact a library staff member if you continue to have problems.</p>
|
||||
</div>
|
||||
[% END %]
|
||||
|
||||
|
@ -168,6 +168,7 @@
|
|||
</fieldset>
|
||||
|
||||
<input type="submit" value="Log in" class="btn" />
|
||||
<p/>
|
||||
[% IF Koha.Preference('OpacPasswordChange') && Koha.Preference('OpacResetPassword') %]
|
||||
<div id="forgotpassword">
|
||||
<a href="/cgi-bin/koha/opac-password-recovery.pl">Forgot your password?</a>
|
||||
|
|
Loading…
Reference in a new issue