]> git.wh0rd.org Git - tt-rss.git/commitdiff
it was probably not the best idea to use session_regenerate_id() right after session_...
authorAndrew Dolgov <noreply@fakecake.org>
Mon, 15 Oct 2018 18:47:12 +0000 (21:47 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Mon, 15 Oct 2018 18:47:12 +0000 (21:47 +0300)
include/functions.php

index 3cd21969d27f90f3b86d509832b1c8bfb7d2f6fc..f5837e51c000285a44072ddf750751391de0c193 100755 (executable)
                                        session_commit();
                                }
 
-                               session_start();
                                session_regenerate_id(true);
+                               session_start();
 
                                $_SESSION["uid"] = $user_id;
                                $_SESSION["version"] = VERSION_STATIC;