1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-16 19:59:14 +00:00
This commit is contained in:
Ryan Parrish
2013-04-01 10:41:20 -04:00
6 changed files with 26 additions and 5 deletions

View File

@@ -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"]."'");