Return HTTP 403 when access is forbidden
This commit is contained in:
parent
f22cc29cd5
commit
4d2f2375a1
|
|
@ -27,7 +27,7 @@ class AppController extends Base
|
|||
$this->response->html($this->helper->layout->app('app/forbidden', array(
|
||||
'title' => t('Access Forbidden'),
|
||||
'no_layout' => $withoutLayout,
|
||||
)));
|
||||
)), 403);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue