mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-13 13:16:36 +02:00
[ticket/11196] Changed 401 response message in session.php.
In session.php 401 response message was "Not Authorized". I changed it to "Unauthorized". PHPBB3-11196
This commit is contained in:
committed by
Andreas Fischer
parent
996f1abee3
commit
8ec55b062d
@ -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