[Koha-bugs] [Bug 10796] Allow OpacPasswordChange to be set by category type

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 27 20:28:48 CET 2019


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

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

This method checks whether the local $self->change_password is set to
override the OpacPasswordChange syspref (i.e. if it is set to a
bool) or undef, in which case it 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