diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index c90975853a..8d3b0c19ce 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -2174,6 +2174,9 @@ function msg_handler($errno, $msg_text, $errfile, $errline) $user->session_begin(); } + // We re-init the auth array to get correct results on login/logout + $auth->acl($user->data); + if (empty($user->lang)) { $user->setup();