1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

Merge branch '3.2.x'

* 3.2.x:
  [ticket/10961] Send HTTP 403 when applicable
This commit is contained in:
Tristan Darricau
2016-09-01 14:54:06 +02:00
26 changed files with 98 additions and 0 deletions

View File

@@ -37,6 +37,7 @@ if (!$auth->acl_gets('u_viewprofile', 'a_user', 'a_useradd', 'a_userdel'))
{
if ($user->data['user_id'] != ANONYMOUS)
{
send_status_line(403, 'Forbidden');
trigger_error('NO_VIEW_USERS');
}