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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
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