[Koha-bugs] [Bug 28660] Self checkout is not automatically logging in

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 7 01:18:01 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28660

--- Comment #9 from David Cook <dcook at prosentient.com.au> ---
(In reply to Jonathan Druart from comment #8)
> This patch is just adding more confusion to C4::Auth and make it even more
> fragile. Better alternative welcomed!

I do have an idea, but it would require a few changes. Basically, it would be
performing the autoselfcheck authentication before get_template_and_user and
then passing a session object into get_template_and_user() through to
checkauth(). I've done the same thing on some other patches, but have cheated
each time by copying code rather than refactoring, so they're paused at the
moment. We could refactor though and that would open up so many auth
possibilities.

But my idea will take some time and effort. Since this problem affects 21.05.x,
my idea probably isn't feasible.

Maybe the safest option is to just revert bug 21325.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list