summaryrefslogtreecommitdiff
path: root/app/Controller
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-02-20 15:31:26 -0500
committerFrederic Guillot <fred@kanboard.net>2016-02-20 15:31:26 -0500
commit0261c751cf539030f47756bc1ea1650123ed2312 (patch)
treef2a1f4d09b1b26f228b9fe055a8ebceb5f71ca75 /app/Controller
parentfc468088c3b39bc4e9d185683442db1d36b61e23 (diff)
Fix cosmetic issues and update api documentation
Diffstat (limited to 'app/Controller')
-rw-r--r--app/Controller/Auth.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/Controller/Auth.php b/app/Controller/Auth.php
index b98dff5d..46b5a546 100644
--- a/app/Controller/Auth.php
+++ b/app/Controller/Auth.php
@@ -58,8 +58,7 @@ class Auth extends Base
if (! DISABLE_LOGOUT) {
$this->sessionManager->close();
$this->response->redirect($this->helper->url->to('auth', 'login'));
- }
- else {
+ } else {
$this->response->redirect($this->helper->url->to('auth', 'index'));
}
}