summaryrefslogtreecommitdiff
path: root/app/Controller/Base.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller/Base.php')
-rw-r--r--app/Controller/Base.php2
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(