mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 23:07:39 +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:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user