]> git.koha-community.org Git - koha.git/commit
Bug 29272: (QA follow-up) Category setup overrides syspref
authorTomas Cohen Arazi <tomascohen@theke.io>
Sun, 24 Oct 2021 22:54:24 +0000 (19:54 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 28 Oct 2021 10:16:37 +0000 (12:16 +0200)
commit5b0962028763c4e36bc6d05fd07513b0f10754bd
tree1f8f43aa60abb5de075ce976d064b1e6f416bb6f
parentd91d813e5ca9b5592957c3c561d83d3b507e61f9
Bug 29272: (QA follow-up) Category setup overrides syspref

This patch removes an early short-circuit we had, which wasn't correct
regarding the OpacPasswordChange syspref. If a patron category is
allowed to change password, it overrides the syspref.

To test:
1. Tests still pass.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/REST/V1/Patrons/Password.pm
t/db_dependent/api/v1/patrons_password.t