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

Baptiste Wojtkowski (bwoj) <baptiste.wojtkow...@biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #169845|0                           |1
        is obsolete|                            |
 Attachment #169846|0                           |1
        is obsolete|                            |

--- Comment #5 from Baptiste Wojtkowski (bwoj) 
<baptiste.wojtkow...@biblibre.com> ---
Created attachment 169854
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=169854&action=edit
Bug 37512: Add a function to reset login attempts

When using system preference 'FailedLoginAttempts', a patron's account is
blocked after X many failed login attempts on the OPAC.

This patch adds, like for "Patron's card has expired" message :
  * a link to reset login attempts to 0
Link is only displayed if libarian has permission to edit patrons.

Reset login attempts to 0 feature uses members/setstatus.pl with
resetloginattempts=y like reregistration=y for an expired patron

To test:
1. Apply BZ25947
2. Change system preference 'FailedLoginAttempts' to a small number, like 2
3. Go to a patron's account and copy their username (while you're there, change
the password and add some fines, too)
4. In the OPAC, try to log in with the username and a wrong password 3 times
5. Go back to the patron's account in the staff interface
6. Note that there is a message : "Patron's account has been locked (due to 3
failed login attempts)"
7. Click on "Reset login attempts", page reloads and you see patron is unlocked

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to