From 4d2f2375a12700c045153bf277d9259d96daa5e5 Mon Sep 17 00:00:00 2001 From: Simon Doppler Date: Mon, 24 Apr 2017 10:34:45 +0200 Subject: Return HTTP 403 when access is forbidden --- app/Controller/AppController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Controller/AppController.php') diff --git a/app/Controller/AppController.php b/app/Controller/AppController.php index 34b9c8cc..645cae7f 100644 --- a/app/Controller/AppController.php +++ b/app/Controller/AppController.php @@ -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); } } -- cgit v1.2.3