From 0b94cfb70259e27db9ff892bc1251132269d6247 Mon Sep 17 00:00:00 2001 From: Henry Sudhof Date: Tue, 15 May 2007 16:02:00 +0000 Subject: Making logout somewhat more secure. Language variables, take them while they're hot. (just one, so be quick) git-svn-id: file:///svn/phpbb/trunk@7590 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/includes/functions.php') diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 78de587eea..922c85d06d 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -3827,7 +3827,7 @@ function page_header($page_title = '', $display_online_list = true) // Generate logged in/logged out status if ($user->data['user_id'] != ANONYMOUS) { - $u_login_logout = append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=logout'); + $u_login_logout = append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=logout', true, $user->session_id); $l_login_logout = sprintf($user->lang['LOGOUT_USER'], $user->data['username']); } else -- cgit v1.2.1