diff options
Diffstat (limited to 'Bugzilla/Auth/Login/WWW/CGI/Cookie.pm')
-rw-r--r-- | Bugzilla/Auth/Login/WWW/CGI/Cookie.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Auth/Login/WWW/CGI/Cookie.pm b/Bugzilla/Auth/Login/WWW/CGI/Cookie.pm index 84f2b27a8..a8ba4f777 100644 --- a/Bugzilla/Auth/Login/WWW/CGI/Cookie.pm +++ b/Bugzilla/Auth/Login/WWW/CGI/Cookie.pm @@ -76,7 +76,7 @@ sub authenticate { if ($userid) { # If we logged in successfully, then update the lastused time on the # login cookie - $dbh->do("UPDATE logincookies SET lastused=NULL WHERE cookie=?", + $dbh->do("UPDATE logincookies SET lastused=NOW() WHERE cookie=?", undef, $login_cookie); |