Commit fe446ec2 authored by gdd's avatar gdd
Browse files

Cant use drupal_get_private_key() at that point in the installer because we dont have variables yet

parent f699554a
......@@ -971,7 +971,7 @@ function install_settings_form_submit($form, &$form_state) {
// This duplicates drupal_get_token() because that function relies on a
// global hash salt which hasn't been set yet.
$settings['drupal_config_directory_name'] = array(
'value' => 'config_' . drupal_hmac_base64($value, session_id() . drupal_get_private_key() . $settings['drupal_hash_salt']['value']),
'value' => 'config_' . drupal_hmac_base64($value, session_id() . drupal_hash_base64(drupal_random_bytes(55)) . $settings['drupal_hash_salt']['value']),
'required' => TRUE,
);
drupal_rewrite_settings($settings);
......
File mode changed from 100644 to 100755
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment