From df3d592c14d5aef42f5aea94ecbc5da417cf3468 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Thu, 25 Oct 2018 11:37:42 +0200 Subject: [PATCH] Bug 21311: (follow-up) Adjust wording of failed login message Content-Type: text/plain; charset=utf-8 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

tag between 'Log in'-button and 'Forgot your password' for presentation. Signed-off-by: Marcel de Rooy --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt index b45c06f..2d15201 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt @@ -60,7 +60,7 @@ [% IF invalid_username_or_password || too_many_login_attempts %]

-

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.

+

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 [% Koha.Preference('FailedLoginAttempts') %] failed attempts[% END %]. Please contact a library staff member if you continue to have problems.

[% END %] @@ -168,6 +168,7 @@ +

[% IF Koha.Preference('OpacPasswordChange') && Koha.Preference('OpacResetPassword') %]

Forgot your password? -- 2.1.4