mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 14:55:56 +00:00
validate_session: check for user agent
This commit is contained in:
@@ -621,6 +621,7 @@
|
||||
$_SESSION["uid"]);
|
||||
|
||||
$_SESSION["ip_address"] = $_SERVER["REMOTE_ADDR"];
|
||||
$_SESSION["user_agent"] = sha1($_SERVER['HTTP_USER_AGENT']);
|
||||
$_SESSION["pwd_hash"] = db_fetch_result($result, 0, "pwd_hash");
|
||||
|
||||
$_SESSION["last_version_check"] = time();
|
||||
|
||||
Reference in New Issue
Block a user