Skip to content

Commit

Permalink
Revert "redirectToServiceAction is not redirecting (SF2 v2.8)"
Browse files Browse the repository at this point in the history
  • Loading branch information
stloyd authored Oct 3, 2016
1 parent 58924e0 commit 319ef3e
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 319ef3e

Please sign in to comment.