Skip to content

Commit

Permalink
Merge forwardport of #11199 to 2.3-develop branch
Browse files Browse the repository at this point in the history
Applied pull request patch https://github.com/magento/magento2/pull/11199.patch (created by @osrecio) based on commit(s):
  1. 41410ac

Fixed GitHub Issues in 2.3-develop branch:
  - #11176: Configured table prefix is not recognized in CLI admin:user:create (reported by @crtl)
  • Loading branch information
magento-engcom-team authored Jan 23, 2018
2 parents cba48cd + 04cd60d commit 0c62caa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setup/src/Magento/Setup/Model/Installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -1010,6 +1010,7 @@ private function installOrderIncrementPrefix($orderIncrementPrefix)
public function installAdminUser($data)
{
$this->assertDbConfigExists();
$data += ['db-prefix' => $this->deploymentConfig->get(ConfigOptionsListConstants::CONFIG_PATH_DB_PREFIX)];
$setup = $this->setupFactory->create($this->context->getResources());
$adminAccount = $this->adminAccountFactory->create($setup->getConnection(), (array)$data);
$adminAccount->save();
Expand Down

0 comments on commit 0c62caa

Please sign in to comment.