login_sequence: flush prefs_cache

This commit is contained in:
Andrew Dolgov 2013-01-24 23:51:42 +04:00
parent d147154cca
commit 75a316ab3c
1 changed files with 2 additions and 0 deletions

View File

@ -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"]);