From cfec551968ff59c124b9e148d2c807153ead9fb5 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 23 Jan 2016 17:40:34 -0500 Subject: Remove useless permission check --- app/Controller/Base.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Controller/Base.php') diff --git a/app/Controller/Base.php b/app/Controller/Base.php index b090356e..66a9e84f 100644 --- a/app/Controller/Base.php +++ b/app/Controller/Base.php @@ -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( -- cgit v1.2.3