@@ -, +, @@ --- C4/Auth.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/C4/Auth.pm +++ a/C4/Auth.pm @@ -1319,7 +1319,7 @@ sub checkauth { } my $patron = Koha::Patrons->find({ userid => $userid }); - $patron->update_lastseen('login'); + $patron->update_lastseen('login') if $patron; # In case, that this request was a login attempt, we want to prevent that users can repost the opac login # request. We therefore redirect the user to the requested page again without the login parameters. --