diff --git a/core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php b/core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php index 6feaa45..8cf65c9 100644 --- a/core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php +++ b/core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php @@ -155,13 +155,6 @@ public function submitForm(array &$form, FormStateInterface $form_state) { 'value' => $install_state['parameters']['profile'], 'required' => TRUE, ); - // Set the initial trusted host value if this isn't a command line install. - if (PHP_SAPI !== 'cli') { - $settings['settings']['trusted_host_patterns'] = (object) array( - 'value' => array('^' . preg_quote(\Drupal::request()->getHost()) . '$'), - 'required' => TRUE, - ); - } drupal_rewrite_settings($settings);