summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Auth/Login/WWW/CGI/Cookie.pm
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2004-09-09 08:29:07 +0200
committerjocuri%softhome.net <>2004-09-09 08:29:07 +0200
commitc609afdd78ff6f41d1c127e22629ff3136880495 (patch)
tree7406ef74960d1e07a3274cd311c3cf65ec002cd4 /Bugzilla/Auth/Login/WWW/CGI/Cookie.pm
parent57c78bf9f0482116464226fac37ba0adf6ff4b13 (diff)
downloadbugzilla-c609afdd78ff6f41d1c127e22629ff3136880495.tar.gz
bugzilla-c609afdd78ff6f41d1c127e22629ff3136880495.tar.xz
Patch for bug 257303: convert lastused field in logincookies from timestamp to datetime; patch by Tomas Kopal <Tomas.Kopal@altap.cz>; r=vladd, a=justdave.
Diffstat (limited to 'Bugzilla/Auth/Login/WWW/CGI/Cookie.pm')
-rw-r--r--Bugzilla/Auth/Login/WWW/CGI/Cookie.pm2
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);