@@ -, +, @@ --- C4/Auth.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/C4/Auth.pm +++ a/C4/Auth.pm @@ -1226,6 +1226,8 @@ sub checkauth { ); } + track_login_daily( $userid ); + # 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. # See Post/Redirect/Get (PRG) design pattern: https://en.wikipedia.org/wiki/Post/Redirect/Get @@ -1238,8 +1240,6 @@ sub checkauth { exit; } - track_login_daily( $userid ); - return ( $userid, $cookie, $sessionID, $flags ); } --