@@ -, +, @@ all rules for new passwords - If the RequireStrongPassword system preference is set, a message should appear listing strong password requirements and minimum password length. - If RequireStrongPassword is not set, the message should only ask for a minimum password length. - OPAC -> Forgot password. Follow the process to reset your password until you reach the step where you are entering the new password. - OPAC -> Register here. Check the password section of the registration form. - OPAC -> Log in -> Change your password. --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt | 8 ++++++-- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-passwd.tt | 7 ++++++- .../opac-tmpl/bootstrap/en/modules/opac-password-recovery.tt | 8 ++++++-- 3 files changed, 18 insertions(+), 5 deletions(-) --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt @@ -809,9 +809,13 @@
Password
-

Your password must be at least [% Koha.Preference('minPasswordLength') | html %] characters long.

+ [% IF ( Koha.Preference('RequireStrongPassword') ) %] +

Your password must contain at least [% Koha.Preference('minPasswordLength') | html %] characters, including UPPERCASE, lowercase and numbers.

+ [% ELSE %] +

Your password must be at least [% Koha.Preference('minPasswordLength') | html %] characters long.

+ [% END %] [% UNLESS mandatory.defined('password') %] -
If you do not enter a password a system generated password will be created.
+

If you do not enter a password a system generated password will be created.

[% END %]
--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-passwd.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-passwd.tt @@ -54,9 +54,14 @@ [% IF ( OpacPasswordChange ) %] [% IF ( Ask_data ) %] +
- [% UNLESS ( ShortPass ) %]
Your password must be at least [% minPasswordLength | html %] characters long.
[% END %] + [% IF ( Koha.Preference('RequireStrongPassword') ) %] +
Your password must contain at least [% Koha.Preference('minPasswordLength') | html %] characters, including UPPERCASE, lowercase and numbers.
+ [% ELSE %] +
Your password must be at least [% Koha.Preference('minPasswordLength') | html %] characters long.
+ [% END %] --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-password-recovery.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-password-recovery.tt @@ -103,7 +103,11 @@
-
The password must contain at least [% minPasswordLength | html %] characters.
+ [% IF ( Koha.Preference('RequireStrongPassword') ) %] +
Your password must contain at least [% Koha.Preference('minPasswordLength') | html %] characters, including UPPERCASE, lowercase and numbers.
+ [% ELSE %] +
Your password must be at least [% Koha.Preference('minPasswordLength') | html %] characters long.
+ [% END %] @@ -122,7 +126,7 @@
Please click the link in this email to finish the process of resetting your password.
This link is valid for 2 days starting now.

- Return to the main page + Return to the main page [% ELSIF (password_reset_done) %]
--