mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00: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:
commit
42b211a4a1
1 changed files with 1 additions and 1 deletions
|
@ -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"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue