Bug 40456 - Make check_cookie_auth() use borrowernumber instead of userid/id
Summary: Make check_cookie_auth() use borrowernumber instead of userid/id
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks: 40457
  Show dependency treegraph
 
Reported: 2025-07-21 03:50 UTC by David Cook
Modified: 2025-07-21 03:55 UTC (History)
1 user (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Cook 2025-07-21 03:50:57 UTC
As noted on bug 40275, check_cookie_auth() could replace its userid/cardnumber lookups using Koha::Patrons->find_by_identifier but it seems like it would be better to actually have it use borrowernumber instead.