diff options
author | Simon Doppler <dopsi@dopsi.ch> | 2017-04-24 10:34:45 +0200 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2017-04-30 15:23:47 -0400 |
commit | 4d2f2375a12700c045153bf277d9259d96daa5e5 (patch) | |
tree | 29a6bc5fb28e0afcafce51de534b6f9deddcbe59 /app/Controller/AppController.php | |
parent | f22cc29cd52d71580f598d0602cdce85bfaf5e92 (diff) |
Return HTTP 403 when access is forbidden
Diffstat (limited to 'app/Controller/AppController.php')
-rw-r--r-- | app/Controller/AppController.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |