From: Andrew Dolgov Date: Mon, 15 Oct 2018 18:47:12 +0000 (+0300) Subject: it was probably not the best idea to use session_regenerate_id() right after session_... X-Git-Tag: 18.12~57 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=77aebd7e4a28ba10b07d8ec697cc84cc4a810777;p=tt-rss.git it was probably not the best idea to use session_regenerate_id() right after session_start(), duh --- diff --git a/include/functions.php b/include/functions.php index 3cd21969..f5837e51 100755 --- a/include/functions.php +++ b/include/functions.php @@ -718,8 +718,8 @@ session_commit(); } - session_start(); session_regenerate_id(true); + session_start(); $_SESSION["uid"] = $user_id; $_SESSION["version"] = VERSION_STATIC;