mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
correctly re-init auth array on login/logout (bug #2055 is related to it)
git-svn-id: file:///svn/phpbb/trunk@6000 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
b9355bc16d
commit
718f97325f
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue