login_sequence: flush prefs_cache

This commit is contained in:
Andrew Dolgov 2013-01-24 23:51:42 +04:00
parent d147154cca
commit 75a316ab3c

View file

@ -720,6 +720,8 @@
} }
function login_sequence($link, $login_form = 0) { function login_sequence($link, $login_form = 0) {
$_SESSION["prefs_cache"] = false;
if (SINGLE_USER_MODE) { if (SINGLE_USER_MODE) {
authenticate_user($link, "admin", null); authenticate_user($link, "admin", null);
load_user_plugins($link, $_SESSION["uid"]); load_user_plugins($link, $_SESSION["uid"]);