diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-01-23 17:40:34 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-01-23 17:40:34 -0500 |
commit | cfec551968ff59c124b9e148d2c807153ead9fb5 (patch) | |
tree | 4ba6ae30f402279c7bf7b576b3e124c8f2b745cc /app/Controller/Base.php | |
parent | 0798887834550a23fefb610905fccebdeea33584 (diff) |
Remove useless permission check
Diffstat (limited to 'app/Controller/Base.php')
-rw-r--r-- | app/Controller/Base.php | 2 |
1 files changed, 1 insertions, 1 deletions
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( |