mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-24 10:31:57 +02:00
[ticket/12360] Fix duplicated creation of session when logging out the user
In7d8b578
this line was introduced to fix a bug with style.php. Later since1d42d1b
a new session is always created after killing the old one. This causes a duplicated creation of the session everytime the user logs itself out. PHPBB3-12360
This commit is contained in:
@@ -94,7 +94,6 @@ switch ($mode)
|
||||
if ($user->data['user_id'] != ANONYMOUS && $request->is_set('sid') && $request->variable('sid', '') === $user->session_id)
|
||||
{
|
||||
$user->session_kill();
|
||||
$user->session_begin();
|
||||
}
|
||||
else if ($user->data['user_id'] != ANONYMOUS)
|
||||
{
|
||||
|
Reference in New Issue
Block a user