diff --git a/core/lib/Drupal/Core/Routing/AccessAwareRouter.php b/core/lib/Drupal/Core/Routing/AccessAwareRouter.php index 93a31c3..1cf937c 100644 --- a/core/lib/Drupal/Core/Routing/AccessAwareRouter.php +++ b/core/lib/Drupal/Core/Routing/AccessAwareRouter.php @@ -88,10 +88,6 @@ public function getContext() { public function matchRequest(Request $request) { $parameters = $this->chainRouter->matchRequest($request); $request->attributes->add($parameters); - // Trigger a session start and authentication by accessing any property of - // the current user. - // @todo This will be removed in https://www.drupal.org/node/2229145. - $this->account->id(); $this->checkAccess($request); // We can not return $parameters because the access check can change the // request attributes.