diff --git a/core/lib/Drupal/Core/Session/SessionManager.php b/core/lib/Drupal/Core/Session/SessionManager.php index a011664..2893e17 100644 --- a/core/lib/Drupal/Core/Session/SessionManager.php +++ b/core/lib/Drupal/Core/Session/SessionManager.php @@ -78,7 +78,7 @@ public function initialize() { global $user; if ($this->isCli()) { - return; + return $this; } // Register the default session handler.