[Koha-bugs] [Bug 21178] Add Koha::Patron::set_password method

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 9 18:21:46 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21178

--- Comment #6 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 77632
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=77632&action=edit
Bug 21178: (QA follow-up) Rely on is_password_valid

This patch makes set_password still rely on Koha::AuthUtils'
is_password_valid method as the only source for truth regarding password
validity.

To test:
- Run:
  $ kshell
 k$ prove t/db_dependent/Koha/Patrons.t
=> SUCCESS: Tests still pass!

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list