]> 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)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 29 Oct 2021 15:47:39 +0000 (11:47 -0400)
commit648a39b0fa6f3e40b01017539a77fbd23c73ca0e
treea796255bb585d91bbc1a68a16e73ad2f6d98f11b
parent3d743c5f542764fae02541e04014f45145a5335d
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>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Koha/REST/V1/Patrons/Password.pm
t/db_dependent/api/v1/patrons_password.t