Skip to content

Commit 0c62caa

Browse files
Merge forwardport of #11199 to 2.3-develop branch
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)
2 parents cba48cd + 04cd60d commit 0c62caa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setup/src/Magento/Setup/Model/Installer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1010,6 +1010,7 @@ private function installOrderIncrementPrefix($orderIncrementPrefix)
10101010
public function installAdminUser($data)
10111011
{
10121012
$this->assertDbConfigExists();
1013+
$data += ['db-prefix' => $this->deploymentConfig->get(ConfigOptionsListConstants::CONFIG_PATH_DB_PREFIX)];
10131014
$setup = $this->setupFactory->create($this->context->getResources());
10141015
$adminAccount = $this->adminAccountFactory->create($setup->getConnection(), (array)$data);
10151016
$adminAccount->save();

0 commit comments

Comments
 (0)