]> git.koha-community.org Git - koha.git/commit
Bug 21547: (follow-up) Rely on Koha::Patron->set_password checks
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 26 Dec 2018 15:25:54 +0000 (12:25 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 3 Jan 2019 14:29:50 +0000 (14:29 +0000)
commit1d9b0fa57efd9a7215b38e5f5b7d30fba788caa6
tree1d89904a0a19b68998e8579d5a341b5eaf33dd01
parent8b27475331dce6cdd01dd765b1eca0e42a51be5f
Bug 21547: (follow-up) Rely on Koha::Patron->set_password checks

This patch makes the controller just call $patron->set_password and use
the exceptions it might raise instead of manually checking the passwor
strength.

No behaviour change should be expected. It also removes some leftovers.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 3f734900f0a86e5478afc22cb77b493500e998e9)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
opac/opac-passwd.pl