Merge pull request 'Add last_login_update session to single user mode' (#80) from powerivq/tt-rss:last_login into master

Reviewed-on: https://dev.tt-rss.org/fox/tt-rss/pulls/80
This commit is contained in:
fox 2022-08-31 18:50:16 +03:00
commit a2c8c92f62
1 changed files with 1 additions and 0 deletions

View File

@ -122,6 +122,7 @@ class UserHelper {
$_SESSION["csrf_token"] = bin2hex(get_random_bytes(16)); $_SESSION["csrf_token"] = bin2hex(get_random_bytes(16));
$_SESSION["ip_address"] = UserHelper::get_user_ip(); $_SESSION["ip_address"] = UserHelper::get_user_ip();
$_SESSION["last_login_update"] = time();
return true; return true;
} }