1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-03 06:08:05 +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:
erangamapa 2013-02-11 15:29:12 +05:30 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 (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"));
}