mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
More sid checks ... perhaps a bit OTT but better "safe" than sorry
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3169 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -70,12 +70,12 @@ $template->set_filenames(array(
|
||||
//
|
||||
if ( $userdata['session_logged_in'] )
|
||||
{
|
||||
$u_login_logout = 'login.'.$phpEx.'?logout=true';
|
||||
$u_login_logout = 'login.'.$phpEx.'?logout=true&sid=' . $userdata['session_id'];
|
||||
$l_login_logout = $lang['Logout'] . ' [ ' . $userdata['username'] . ' ]';
|
||||
}
|
||||
else
|
||||
{
|
||||
$u_login_logout = 'login.'.$phpEx;
|
||||
$u_login_logout = 'login.'.$phpEx . '&sid=' . $userdata['session_id'];
|
||||
$l_login_logout = $lang['Login'];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user