Skip to content

Commit 1a56400

Browse files
committed
[ticket/12360] Fix duplicated creation of session when logging out the user
In 7d8b578 this line was introduced to fix a bug with style.php. Later since 1d42d1b 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
1 parent f0176b5 commit 1a56400

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

phpBB/ucp.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@
9494
if ($user->data['user_id'] != ANONYMOUS && $request->is_set('sid') && $request->variable('sid', '') === $user->session_id)
9595
{
9696
$user->session_kill();
97-
$user->session_begin();
9897
}
9998
else if ($user->data['user_id'] != ANONYMOUS)
10099
{

0 commit comments

Comments
 (0)