[Koha-bugs] [Bug 21890] Patron password reset by category

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 21 20:51:13 CET 2019


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

--- Comment #35 from Liz Rea <wizzyrea at gmail.com> ---
Created attachment 86868
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=86868&action=edit
Bug 21890: Add Koha::Patron::Category->effective_reset_password method

This method checks wether the local $self->reset_password is set to
override the OpacResetPassword syspref (i.e. if it is set to a bool) or
undef, in which case if falls back to the value of the syspref.

To test:
- Apply this patches
- Make sure the DB is updated:
  $ updatedatabase
- Update the schema files:
  $ dbic
- Run:
  $ kshell
 k$ prove t/db_dependent/Koha/Patron/Category.t
=> SUCCESS: Tests pass!
- Sign off :-D

Signed-off-by: Liz Rea <wizzyrea at gmail.com>

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


More information about the Koha-bugs mailing list