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

            Bug ID: 41094
           Summary: search_anonymize_candidates returns too many
                    candidates when FailedLoginAttempts is empty
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Patrons
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

From a discussion on Mattermost with David Little.

The arguable lines are:

my $fails = C4::Context->preference('FailedLoginAttempts') || 0;
$cond->{login_attempts} =
    [ -and => { '!=' => undef }, { -not_in => [ 0, 1 .. $fails - 1 ] } ];

-- 
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