Skip to content

Commit

Permalink
Adds hash_salt to local settings (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
thejimbirch authored Jul 10, 2024
1 parent 36c3e9b commit 8c7db13
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .docksal/etc/conf/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
// Skip file system permissions hardening.
$settings['skip_permissions_hardening'] = TRUE;

// Lets set the hash salt to a random id.
$ID = md5(getenv('VIRTUAL_HOST'));
$settings['hash_salt'] = $ID;

// Disable local development caching.
$settings['cache']['bins']['render'] = 'cache.backend.null';
$settings['cache']['bins']['dynamic_page_cache'] = 'cache.backend.null';
Expand Down

0 comments on commit 8c7db13

Please sign in to comment.