@@ -, +, @@ --- .../bootstrap/en/modules/opac-memberentry.tt | 22 +++++++++++++++------- opac/opac-memberentry.pl | 1 - 2 files changed, 15 insertions(+), 8 deletions(-) --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt @@ -778,23 +778,32 @@ [% END %] - [% UNLESS action == 'edit' %] + [% UNLESS action == 'edit' || hidden.defined('password') %]
- Contact information - [% UNLESS hidden.defined('password') %] -
Your password must be at least [% minpassw %] characters long. + Password + [% IF Koha.Preference('minPasswordLength') || !mandatory.defined('password') %] +
+ [% IF Koha.Preference('minPasswordLength') %] +

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

+ [% END %] + [% UNLESS mandatory.defined('password') %] + If you do not enter a password a system generated password will be created. + [% END %] +
+ [% END %] + [% IF mandatory.defined('password') %] -
You must enter a password!
  1. + Required
  2. + Required
[% ELSE %] -
If you do not enter a password a system generated password will be created
  1. @@ -804,7 +813,6 @@
[% END %] - [% END %]
--- a/opac/opac-memberentry.pl +++ a/opac/opac-memberentry.pl @@ -67,7 +67,6 @@ $template->param( action => $action, hidden => $hidden, mandatory => $mandatory, - minpassw => C4::Context->preference('minPasswordLength'), member_titles => GetTitles() || undef, branches => GetBranchesLoop(), OPACPatronDetails => C4::Context->preference('OPACPatronDetails'), --