From 75a316ab3cade6264cd4471c2fcec00950adc2a2 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 24 Jan 2013 23:51:42 +0400 Subject: [PATCH] login_sequence: flush prefs_cache --- include/functions.php | 2 ++ 1 file changed, 2 insertions(+) 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"]); -- 2.39.5