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/Oauth.php | |
| parent | 271543431e999032d6e91197633119309fa6c622 (diff) | |
Simplify layout and templates generation
Diffstat (limited to 'app/Controller/Oauth.php')
| -rw-r--r-- | app/Controller/Oauth.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/Oauth.php b/app/Controller/Oauth.php index bc670d1e..452faecd 100644 --- a/app/Controller/Oauth.php +++ b/app/Controller/Oauth.php @@ -95,7 +95,7 @@ class Oauth extends Base if ($this->authenticationManager->oauthAuthentication($provider)) { $this->response->redirect($this->helper->url->to('app', 'index')); } else { - $this->response->html($this->template->layout('auth/index', array( + $this->response->html($this->helper->layout->app('auth/index', array( 'errors' => array('login' => t('External authentication failed')), 'values' => array(), 'no_layout' => true, |
