X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=include%2Ffunctions.php;fp=include%2Ffunctions.php;h=006d17a4887c3683920bd73b2d5bdbaddd8345ef;hb=f8fc1ac54314dbd22c8673beb15d16780a0fc4c7;hp=5588590a85c2ab8a99268af9db4d20fef498d308;hpb=f730d7bb0ac691153eacd80844bb530dca04e3cc;p=tt-rss.git diff --git a/include/functions.php b/include/functions.php index 5588590a..006d17a4 100755 --- a/include/functions.php +++ b/include/functions.php @@ -714,13 +714,6 @@ if ($user_id && !$check_only) { - /* if a session is started here there's a stale login cookie we need to clean */ - - if (session_status() != PHP_SESSION_NONE) { - $_SESSION["login_error_msg"] = __("Stale session cookie found, try logging in again"); - return false; - } - session_regenerate_id(true); session_start();