Return HTTP 403 when access is forbidden

This commit is contained in:
Simon Doppler
2017-04-24 10:34:45 +02:00
committed by Frédéric Guillot
parent f22cc29cd5
commit 4d2f2375a1

View File

@@ -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);
}
}