Skip to content

Commit 429ae3f

Browse files
authored
Merge pull request #1107 from hwi/revert-1029-patch-1
Revert "redirectToServiceAction is not redirecting (SF2 v2.8)"
2 parents 58924e0 + 319ef3e commit 429ae3f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Controller/ConnectController.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,7 @@ public function redirectToServiceAction(Request $request, $service)
279279
}
280280
}
281281

282-
$this->redirect($authorizationUrl)->sendHeaders();
283-
return new RedirectResponse($authorizationUrl);
282+
return $this->redirect($authorizationUrl);
284283
}
285284

286285
/**

0 commit comments

Comments
 (0)