summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/functions.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php
index 9dea353ae..060a8a3aa 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"]);