Remove useless permission check

This commit is contained in:
Frederic Guillot
2016-01-23 17:40:34 -05:00
parent 0798887834
commit cfec551968
2 changed files with 6 additions and 18 deletions

View File

@@ -146,7 +146,7 @@ abstract class Base extends \Kanboard\Core\Base
protected function forbidden($no_layout = false)
{
if ($this->request->isAjax()) {
$this->response->text('Not Authorized', 401);
$this->response->text('Access Forbidden', 403);
}
$this->response->html($this->template->layout('app/forbidden', array(