[Bug 40464] New: Many parts of C4::Auth::checkauth() re-lookup the patron using userid/cardnumber unnecessarily
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40464 Bug ID: 40464 Summary: Many parts of C4::Auth::checkauth() re-lookup the patron using userid/cardnumber unnecessarily Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: koha-bugs@lists.koha-community.org Reporter: dcook@prosentient.com.au QA Contact: testopia@bugs.koha-community.org While bug 40275 introduces Koha::Patrons->find_by_identifier() into C4::Auth in one place in C4::Auth::checkpw(), C4::Auth::checkauth() needlessly looks up the borrower again (multiple times) even though we've already looked it up before. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40464 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |40457 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40457 [Bug 40457] Wherever possible we should lookup using borrowernumber instead of userid/cardnumber -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40464 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |40457 Depends on|40457 | Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40457 [Bug 40457] Wherever possible we should lookup using borrowernumber instead of userid/cardnumber -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org