summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
Diffstat (limited to 'install.php')
-rw-r--r--install.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/install.php b/install.php
index 0b9dddd87..f4da1bb55 100644
--- a/install.php
+++ b/install.php
@@ -1002,6 +1002,10 @@ function install_settings_form_submit($form, &$form_state) {
'value' => $form_state['values']['db_prefix'],
'required' => TRUE,
);
+ $settings['drupal_hash_salt'] = array(
+ 'value' => sha1(drupal_random_bytes(64)),
+ 'required' => TRUE,
+ );
drupal_rewrite_settings($settings);
// Indicate that the settings file has been verified, and check the database
// for the last completed task, now that we have a valid connection. This