Updated header key

This commit is contained in:
Alex Bilbie 2016-04-10 11:47:41 +01:00
parent 6f71a2d178
commit fdb1d70874

View File

@ -26,6 +26,6 @@ class RedirectResponse extends AbstractResponseType
*/
public function generateHttpResponse(ResponseInterface $response)
{
return $response->withStatus(302)->withHeader('location', $this->redirectUri);
return $response->withStatus(302)->withHeader('Location', $this->redirectUri);
}
}