diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-01-31 21:44:49 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-01-31 21:44:49 -0500 |
commit | 26492aba7ee2bfb8c525ea0aaa580aff47a414ba (patch) | |
tree | de2ebb411685057a2a8723ca7f763966478a39f7 /app/Controller/Auth.php | |
parent | 271543431e999032d6e91197633119309fa6c622 (diff) |
Simplify layout and templates generation
Diffstat (limited to 'app/Controller/Auth.php')
-rw-r--r-- | app/Controller/Auth.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/Auth.php b/app/Controller/Auth.php index 5284e126..fef7f0e3 100644 --- a/app/Controller/Auth.php +++ b/app/Controller/Auth.php @@ -21,7 +21,7 @@ class Auth extends Base $this->response->redirect($this->helper->url->to('app', 'index')); } - $this->response->html($this->template->layout('auth/index', array( + $this->response->html($this->helper->layout->app('auth/index', array( 'captcha' => ! empty($values['username']) && $this->userLocking->hasCaptcha($values['username']), 'errors' => $errors, 'values' => $values, |