mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
Merge branch 'ticket/erangamapa/11196' into develop-olympus
* ticket/erangamapa/11196: [ticket/11196] Changed 401 response message in session.php.
This commit is contained in:
@@ -325,7 +325,7 @@ class session
|
|||||||
// if no session id is set, redirect to index.php
|
// if no session id is set, redirect to index.php
|
||||||
if (defined('NEED_SID') && (!isset($_GET['sid']) || $this->session_id !== $_GET['sid']))
|
if (defined('NEED_SID') && (!isset($_GET['sid']) || $this->session_id !== $_GET['sid']))
|
||||||
{
|
{
|
||||||
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