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:
commit
a2c8c92f62
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue