Redirect to original URL after oauth login
This commit is contained in:
@@ -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'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user