Bug 36514

Summary: The "kick_out" in auth should return an anonymous session instead of no session
Product: Koha Reporter: David Cook <dcook>
Component: Architecture, internals, and plumbingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: jonathan.druart
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38327
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description David Cook 2024-04-04 03:39:22 UTC
At the moment, when we "kick_out" of the self-checkout or the self-checkin, we send a CGISESSID cookie with an empty value and force the web app to render opac-auth.tt 

However, this doesn't really make sense.

If the user just reloads the page again, they'll see the real template. 

And if you want to link to the self-registration from the self-checkout (say in a new tab), you'll want to see the real template instead of a login screen. 

--

In theory, it shouldn't be too hard to do this. We'll just want to create an anonymous session and return the actual requested template. 

This isn't a top priority for me at the moment, but I do have a library interested in this, so I might find myself working on this...
Comment 1 Jonathan Druart 2024-11-06 14:27:05 UTC
This is kind of related to the "store session's id in userenv" idea from 37041.