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> (cherry picked from commite64650216f) Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> (cherry picked from commit14e9eb67b9) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
e9e5e55e84
commit
3ccb7d2da6
|
|
@ -57,7 +57,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 %]
|
||||
|
||||
|
|
@ -163,6 +163,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 New Issue