Skip to content

Commit

Permalink
Set session for ajax request.
Browse files Browse the repository at this point in the history
  • Loading branch information
rosiel committed Jul 2, 2024
1 parent ec0922f commit b52cbaa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Controller/AjaxBlocksController.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ public function respond(Request $request) {
}

$new_request = Request::create($path);
$new_request->setSession($request->getSession());
$request_stack = \Drupal::requestStack();
$processed = $this->pathProcessor->processInbound($new_request->getPathInfo(), $new_request);

Expand Down

0 comments on commit b52cbaa

Please sign in to comment.