Koha/koha-tmpl/intranet-tmpl/prog/en
Tomas Cohen Arazi abea0ea9d2 Bug 22048: Use set_password in member-password.pl
This patch makes member-password.pl use $patron->set_password instead of
update_password. The side effect is that setting password and userid
become separate steps in the code.

For the password all the initial checks are the same, but password
strength is checked on calling set_password and an exception is thrown.
So instead of checking the password quality, we just wait for exceptions
and behave the same as before.

Bonus: you will notice I reused the initially fetched $patron object.
Things get simpler :-D

To test:
- Verify that changing the password / userid for a patron works as usual

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-01-25 20:15:28 +00:00
..
data Bug 21719: Fix typos 2018-11-08 02:18:46 +00:00
includes Bug 21672: Switch templates to Bootstrap grid: Various 2019-01-25 17:41:37 +00:00
modules Bug 22048: Use set_password in member-password.pl 2019-01-25 20:15:28 +00:00
xslt Bug 22085: fix UNIMARC default XSLT broken by Bug 14716 2019-01-18 20:12:28 +00:00
columns.def Bug 17672: Add damaged_on to items and deleteditems tables 2018-02-18 16:48:43 -03:00