diff --git a/core/lib/Drupal/Core/Session/SessionConfiguration.php b/core/lib/Drupal/Core/Session/SessionConfiguration.php index 9dfd723e37..8d83eef20c 100644 --- a/core/lib/Drupal/Core/Session/SessionConfiguration.php +++ b/core/lib/Drupal/Core/Session/SessionConfiguration.php @@ -94,8 +94,7 @@ protected function getUnprefixedName(Request $request) { else { // Otherwise use $base_url as session name, without the protocol // to use the same session identifiers across HTTP and HTTPS. - $hash_salt = Settings::get('hash_salt'); - $session_name = $request->getHost() . $request->getBasePath() . $hash_salt; + $session_name = $request->getHost() . $request->getBasePath() . Settings::getHashSalt(); // Replace "core" out of session_name so core scripts redirect properly, // specifically install.php. $session_name = preg_replace('#/core$#', '', $session_name);