]> git.koha-community.org Git - koha.git/commit
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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 19 Mar 2018 15:23:12 +0000 (12:23 -0300)
commitbe4d4a8e28a85f2baf90b03127428cadb551a00e
treec35576e0dbb3f9c7b926c6aaf094c2a1024f48dd
parentbb97767501a016609743c354b781a0783eb6e66b
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>
koha-tmpl/intranet-tmpl/prog/en/modules/members/member-password.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt