1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-24 07:11:33 +00:00

session validation: check for tt-rss version

This commit is contained in:
Andrew Dolgov
2013-04-04 12:55:15 +04:00
parent 9fb91a2043
commit 810205625b
2 changed files with 4 additions and 0 deletions

View File

@@ -630,6 +630,7 @@
@session_start();
$_SESSION["uid"] = $user_id;
$_SESSION["version"] = VERSION;
$result = db_query($link, "SELECT login,access_level,pwd_hash FROM ttrss_users
WHERE id = '$user_id'");