[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 Feb 20 18:09:50 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10796
--- Comment #2 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 85390
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=85390&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
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list