[Koha-bugs] [Bug 21533] Do not allow password recovery for administrative locked patrons (see 21336)
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Apr 26 14:07:03 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21533
Owen Leonard <oleonard at myacpl.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #80348|0 |1
is obsolete| |
--- Comment #2 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 88904
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=88904&action=edit
Bug 21533: Do not allow password recovery for administrative locked patrons
Depends on bug 21336 for the ADMINISTRATIVE_LOCKOUT constant.
This is a bit lazy solution (but good enough): The account will not be found
when recovering the password. The user should contact the library. Since
the library chose to lock the account, that seems appropriate.
Test plan:
Select a borrower and set login_attempts to -1. Via mysql command line or
with Koha::Patrons->find(borrowernumber)->lock.
Enable password recovery.
Try to recover password from OPAC. You should fail with 'Not found, contact
the library'.
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list