diff options
author | fox <[email protected]> | 2022-08-31 18:50:16 +0300 |
---|---|---|
committer | fox <[email protected]> | 2022-08-31 18:50:16 +0300 |
commit | a2c8c92f628df037e48709d7319af510abbbf8a6 (patch) | |
tree | 02651792108a32dc494b380a2aeb77d6763560ac /classes/userhelper.php | |
parent | c0e77241d34f494c98b877df655fc5a5c5a9cb14 (diff) | |
parent | f0f44c6ea59b52cbbbb2c3aa2563fbb339677e99 (diff) |
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
Diffstat (limited to 'classes/userhelper.php')
-rw-r--r-- | classes/userhelper.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/userhelper.php b/classes/userhelper.php index 228bb14fb..e613465b9 100644 --- a/classes/userhelper.php +++ b/classes/userhelper.php @@ -122,6 +122,7 @@ class UserHelper { $_SESSION["csrf_token"] = bin2hex(get_random_bytes(16)); $_SESSION["ip_address"] = UserHelper::get_user_ip(); + $_SESSION["last_login_update"] = time(); return true; } |