Last active
May 23, 2017 20:35
-
-
Save mmenavas/3f4e661a3d267121a8ab5b7bed1eb82d to your computer and use it in GitHub Desktop.
Get hash salt from Drupal 8 site in Pantheon using terminus
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$databases['default']['default'] = array ( | |
'database' => '', | |
'username' => '', | |
'password' => '', | |
'host' => 'localhost', | |
'port' => '3306', | |
'driver' => 'mysql', | |
'prefix' => '', | |
); | |
// Figure out what your site's hash is by running | |
// terminus drush d8rtd.dev -- ev 'return getenv("DRUPAL_HASH_SALT")' | |
$settings['hash_salt'] = 'y-o-u-r--s-i-t-e-s--h-a-s-h--s-a-l-t' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment