Bug 38363 - get_template_and_user and checkauth don't use C4::Output for rendering auth pages
Summary: get_template_and_user and checkauth don't use C4::Output for rendering auth p...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-05 23:24 UTC by David Cook
Modified: 2025-02-12 04:43 UTC (History)
1 user (show)

See Also:
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 2024-11-05 23:24:21 UTC
I was testing the output of HTTP headers using C4::Output::output_html_with_http_headers, and I was going crazy wondering why my headers weren't coming through on http://localhost:8081

And the reason is that authentication pages don't use this function! 

C4::Auth::checkauth and C4::Auth::get_template_and_user do their our outputs which leads to duplication.