login_sequence: flush prefs_cache
This commit is contained in:
parent
d147154cca
commit
75a316ab3c
1 changed files with 2 additions and 0 deletions
|
@ -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"]);
|
||||||
|
|
Loading…
Reference in a new issue