[Koha-bugs] [Bug 29783] New: Account lockout message appears incorrectly for blank userid

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 4 06:02:14 CET 2022


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

            Bug ID: 29783
           Summary: Account lockout message appears incorrectly for blank
                    userid
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Authentication
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: dcook at prosentient.com.au
        QA Contact: testopia at bugs.koha-community.org
                CC: dpavlin at rot13.org

If a Koha instance has a borrower with an blank/empty userid and login_attempts
over the threshold defined by FailedLoginAttempts, a user will see "Error: This
account has been locked!" when visiting the staff interface for the first time
and without supplying any login details.

This is because we're doing a Koha::Patrons->find with an empty string!

The solution is very simple...

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


More information about the Koha-bugs mailing list