From: Andrew Dolgov Date: Thu, 24 Jan 2013 19:51:42 +0000 (+0400) Subject: login_sequence: flush prefs_cache X-Git-Tag: 1.7.0~22 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=75a316ab3cade6264cd4471c2fcec00950adc2a2;p=tt-rss.git login_sequence: flush prefs_cache --- diff --git a/include/functions.php b/include/functions.php index 9dea353a..060a8a3a 100644 --- a/include/functions.php +++ b/include/functions.php @@ -720,6 +720,8 @@ } function login_sequence($link, $login_form = 0) { + $_SESSION["prefs_cache"] = false; + if (SINGLE_USER_MODE) { authenticate_user($link, "admin", null); load_user_plugins($link, $_SESSION["uid"]);