mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-18 19:41:29 +00:00
feeds/view: periodically bump login timestamp
This commit is contained in:
@@ -768,6 +768,7 @@
|
||||
/* bump login timestamp */
|
||||
db_query($link, "UPDATE ttrss_users SET last_login = NOW() WHERE id = " .
|
||||
$_SESSION["uid"]);
|
||||
$_SESSION["last_login_update"] = time();
|
||||
}
|
||||
|
||||
if ($_SESSION["uid"] && $_SESSION["language"] && SESSION_COOKIE_LIFETIME > 0) {
|
||||
|
||||
Reference in New Issue
Block a user