Skip to content

Commit

Permalink
Fix #4261: Allow site mail and account mail to be set separately (#4294)
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell committed Dec 9, 2020
1 parent 94bd550 commit 56a60bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions config/build.yml
Expand Up @@ -61,6 +61,7 @@ docroot: ${repo.root}/docroot
drupal:
#account.name: admin
account.mail: no-reply@acquia.com
site.mail: ${drupal.account.mail}
locale: en
local_settings_file: ${docroot}/sites/${site}/settings/local.settings.php
settings_file: ${docroot}/sites/${site}/settings.php
Expand Down
2 changes: 1 addition & 1 deletion src/Robo/Commands/Drupal/InstallCommand.php
Expand Up @@ -113,7 +113,7 @@ function ($string) {
->rawArg($this->getConfigValue('setup.install-args'))
->option('sites-subdir', $this->getConfigValue('site'))
->option('site-name', $this->getConfigValue('project.human_name'))
->option('site-mail', $this->getConfigValue('drupal.account.mail'))
->option('site-mail', $this->getConfigValue('drupal.site.mail'))
->option('account-name', $username, '=')
->option('account-mail', $this->getConfigValue('drupal.account.mail'))
->option('locale', $this->getConfigValue('drupal.locale'))
Expand Down

0 comments on commit 56a60bd

Please sign in to comment.