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)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 26 Dec 2018 20:47:10 +0000 (20:47 +0000)
commit3f734900f0a86e5478afc22cb77b493500e998e9
tree2a85166141a994ab10d5e39ea85fff6534336e10
parent085cfc6bca30718a6d719d645709097cf86f01db
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>
opac/opac-passwd.pl