@@ -, +, @@ (3.16.x) OPAC bar, or just click on the "Log in" link) display the login screen, no matter how many times you try to reload it); to break the deadloop, one needs to: - remove session cookie from the browser (or cause the session to expire in some other way - closing browser window would be probably enough for that) - remove offending session on the server (from mysql sessions table, ..) - log in with proper credentials using some other page (like opac/opac-main.pl right-side panel), which does not involve opac/opac-user.pl being called without "userid" CGI parameter. attempts --- C4/Auth.pm | 2 ++ 1 file changed, 2 insertions(+) --- a/C4/Auth.pm +++ a/C4/Auth.pm @@ -990,12 +990,14 @@ sub checkauth { } else { + $debug and warn "Login failed, resetting anonymous session..."; if ($userid) { $info{'invalid_username_or_password'} = 1; C4::Context->_unset_userenv($sessionID); } $session->param('lasttime',time()); $session->param('ip',$session->remote_addr()); + $session->param('sessiontype','anon'); } } # END if ( $userid = $query->param('userid') ) elsif ($type eq "opac") { --