Bug 34073

Summary: We appear to repeatedly look up the user in Auth.pm
Product: Koha Reporter: Martin Renvoize (ashimema) <martin.renvoize>
Component: Architecture, internals, and plumbingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Martin Renvoize (ashimema) 2023-06-21 06:13:49 UTC
I quick scan of Auth.pm earlier today made me think we needlessly look up the user form the database multiple times. We should be able to perform that lookup once and then reuse the object throughout the r of the process.