Bug 40224

Summary: Replace use of location.href with POST logout form
Product: Koha Reporter: Kyle M Hall (khall) <kyle>
Component: Self checkoutAssignee: Kyle M Hall (khall) <kyle>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: david
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:
Bug Depends on: 36586    
Bug Blocks:    
Attachments: Bug 40224: Replace use of location.href with POST logout form

Description Kyle M Hall (khall) 2025-06-24 11:26:55 UTC
The self-check module should use use POST for logouts instead of GET.
Comment 1 Kyle M Hall (khall) 2025-06-24 11:30:11 UTC
Created attachment 183443 [details] [review]
Bug 40224: Replace use of location.href with POST logout form

The self-check module should use use POST for logouts instead of GET.

Test Plan:
1) Enable WebBasedSelfCheck and SelfCheckInModule
2) Set SelfCheckTimeout and SelfCheckInTimeout to 10 seconds
3) Log in to each, observer the page is logged out after 10 seconds
   with not "op=logout" in the URL. Wait another 10 seconds, observe the
   page again refreshes with no "op=logout" in the URL.
Comment 2 David Nind 2025-06-24 19:54:02 UTC
Just checking if this is ready for sign off yet.
Comment 3 Kyle M Hall (khall) 2025-06-25 11:30:13 UTC
I'm concerned about issues with Bug 36586