mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 11:05:55 +00:00
add yet another workaround for stuck login due to session cookies
This commit is contained in:
@@ -492,9 +492,6 @@ class Handler_Public extends Handler {
|
||||
}
|
||||
|
||||
function login() {
|
||||
@session_destroy();
|
||||
@session_start();
|
||||
|
||||
$_SESSION["prefs_cache"] = array();
|
||||
|
||||
if (!SINGLE_USER_MODE) {
|
||||
@@ -503,6 +500,8 @@ class Handler_Public extends Handler {
|
||||
$password = $_POST["password"];
|
||||
$remember_me = $_POST["remember_me"];
|
||||
|
||||
@session_start();
|
||||
|
||||
if (authenticate_user($this->link, $login, $password)) {
|
||||
$_POST["password"] = "";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user