From 14e9eb67b9e86b025eeddc9426c490280a4c022f 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 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 Signed-off-by: Nick Clemens (cherry picked from commit e64650216f568e7d7ad26e25ae59493202d871a3) Signed-off-by: Martin Renvoize --- 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 f887872d0a..0cde396b87 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt @@ -59,7 +59,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 a fixed number of failed login attempts[% END %]. Please contact a library staff member if you continue to have problems.

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

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

Forgot your password? -- 2.39.5