diff options
Diffstat (limited to 'app/Controller/OAuthController.php')
-rw-r--r-- | app/Controller/OAuthController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/OAuthController.php b/app/Controller/OAuthController.php index 7663ddcc..abd9b2e7 100644 --- a/app/Controller/OAuthController.php +++ b/app/Controller/OAuthController.php @@ -106,7 +106,7 @@ class OAuthController extends BaseController protected function authenticate($providerName) { if ($this->authenticationManager->oauthAuthentication($providerName)) { - $this->response->redirect($this->helper->url->to('DashboardController', 'show')); + $this->redirectAfterLogin(); } else { $this->authenticationFailure(t('External authentication failed')); } |