https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31908 --- Comment #9 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> ---
From 20.11.x:
#if a user enters an id ne to the id in the current session, we need to log them in... #first we need to clear the anonymous session... $debug and warn "query id = $q_userid but session id = $s_userid"; $anon_search_history = $session->param('search_history'); $session->delete(); $session->flush; C4::Context->_unset_userenv($sessionID); $sessionID = undef; $userid = undef; See former comment too. Note that probably in the 2FA changes, this $userid line got "lost" somewhere. So I propose to reinsert it here. -- You are receiving this mail because: You are watching all bug changes.