mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-16 19:59:14 +00:00
Merge branch 'master' of https://github.com/stickystyle/Tiny-Tiny-RSS
This commit is contained in:
@@ -59,6 +59,9 @@
|
||||
if ($_SESSION["ref_schema_version"] != session_get_schema_version($link, true))
|
||||
return false;
|
||||
|
||||
if (sha1($_SERVER['HTTP_USER_AGENT']) != $_SESSION["user_agent"])
|
||||
return false;
|
||||
|
||||
if ($_SESSION["uid"]) {
|
||||
$result = db_query($link,
|
||||
"SELECT pwd_hash FROM ttrss_users WHERE id = '".$_SESSION["uid"]."'");
|
||||
|
||||
Reference in New Issue
Block a user