mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 19:24:01 +02:00
Merge branch '3.2.x'
* 3.2.x: [ticket/10961] Send HTTP 403 when applicable
This commit is contained in:
@@ -75,6 +75,7 @@ switch ($mode)
|
||||
{
|
||||
if ($user->data['user_id'] != ANONYMOUS)
|
||||
{
|
||||
send_status_line(403, 'Forbidden');
|
||||
trigger_error('NO_VIEW_USERS');
|
||||
}
|
||||
|
||||
@@ -377,6 +378,7 @@ switch ($mode)
|
||||
|
||||
if (!$auth->acl_get('u_sendim'))
|
||||
{
|
||||
send_status_line(403, 'Forbidden');
|
||||
trigger_error('NOT_AUTHORISED');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user