undo removing Response::prepare call
This commit is contained in:
@@ -44,7 +44,7 @@ if ( false === in_array($request->getClientIp(), $trustedIp)) {
|
|||||||
$response = Response::create('Forbidden', 403)->send();
|
$response = Response::create('Forbidden', 403)->send();
|
||||||
$thelia->terminate($request, $response);
|
$thelia->terminate($request, $response);
|
||||||
} else {
|
} else {
|
||||||
$response = $thelia->handle($request)->send();
|
$response = $thelia->handle($request)->prepare($request)->send();
|
||||||
$thelia->terminate($request, $response);
|
$thelia->terminate($request, $response);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user