mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-06 06:25:04 +02: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
@ -2174,6 +2174,9 @@ function msg_handler($errno, $msg_text, $errfile, $errline)
|
|||||||
$user->session_begin();
|
$user->session_begin();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// We re-init the auth array to get correct results on login/logout
|
||||||
|
$auth->acl($user->data);
|
||||||
|
|
||||||
if (empty($user->lang))
|
if (empty($user->lang))
|
||||||
{
|
{
|
||||||
$user->setup();
|
$user->setup();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user