mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 15:57:45 +02:00
Merge branch 'develop-olympus' into develop
* develop-olympus: [ticket/11196] Changed 401 response message in session.php.
This commit is contained in:
@@ -346,7 +346,7 @@ class phpbb_session
|
|||||||
$session_id = $request->variable('sid', '');
|
$session_id = $request->variable('sid', '');
|
||||||
if (defined('NEED_SID') && (empty($session_id) || $this->session_id !== $session_id))
|
if (defined('NEED_SID') && (empty($session_id) || $this->session_id !== $session_id))
|
||||||
{
|
{
|
||||||
send_status_line(401, 'Not authorized');
|
send_status_line(401, 'Unauthorized');
|
||||||
redirect(append_sid("{$phpbb_root_path}index.$phpEx"));
|
redirect(append_sid("{$phpbb_root_path}index.$phpEx"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user