Bug 19908: Password fields in edit/add patron form should respect BorrowerMandatoryFi...
authorJosef Moravec <josef.moravec@gmail.com>
Wed, 3 Jan 2018 10:56:37 +0000 (10:56 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Mon, 23 Apr 2018 21:56:01 +0000 (21:56 +0000)
commit33bb028c9e683ac440573bc44b01aabda2b95fba
tree470b2dd9921b4e373011afc03414a140eebc71f2
parent6fe90c2228ab6116f1d30d811aad2a6eb342153a
Bug 19908: Password fields in edit/add patron form should respect BorrowerMandatoryField preference

Test plan:
0) Do not apply the patch, note the password field is always required
1) Apply the patch
2) Try to add and edit patron with and without "password" in BorrowerMandatoryField, it should always respect this setting
3) Use "Change password" button in patron toolbar, the password field
should be never required here - when leaved blank, the password is
unchanged
4) Play with  minPasswordLength and  RequireStrongPassword preferences,
    to ensure they work as expected

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Conflicts:
koha-tmpl/intranet-tmpl/prog/en/modules/members/member-password.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/member-password.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt