mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 20:45:55 +00:00
fix session write handler always assuming that database entry exists and failing silently if it doesn't; remove session cookie-related hacks
This commit is contained in:
@@ -714,8 +714,8 @@
|
||||
|
||||
if ($user_id && !$check_only) {
|
||||
|
||||
session_regenerate_id(true);
|
||||
session_start();
|
||||
session_regenerate_id(true);
|
||||
|
||||
$_SESSION["uid"] = $user_id;
|
||||
$_SESSION["version"] = VERSION_STATIC;
|
||||
|
||||
Reference in New Issue
Block a user