Skip to content

Commit

Permalink
Merge pull request hwi#1107 from hwi/revert-1029-patch-1
Browse files Browse the repository at this point in the history
Revert "redirectToServiceAction is not redirecting (SF2 v2.8)"
  • Loading branch information
stloyd authored Oct 3, 2016
2 parents 58924e0 + 319ef3e commit 429ae3f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Controller/ConnectController.php
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,7 @@ public function redirectToServiceAction(Request $request, $service)
}
}

$this->redirect($authorizationUrl)->sendHeaders();
return new RedirectResponse($authorizationUrl);
return $this->redirect($authorizationUrl);
}

/**
Expand Down

0 comments on commit 429ae3f

Please sign in to comment.