From 493ebbaacbccf9b7d8a0008d291146ae4ac7c14d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20Hochd=C3=B6rfer?= Date: Fri, 30 May 2014 18:37:47 +0200 Subject: [PATCH] Fix to load the auth information before the root package gets installed. --- src/Composer/Command/CreateProjectCommand.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Composer/Command/CreateProjectCommand.php b/src/Composer/Command/CreateProjectCommand.php index 3cca384d2..8adc7e106 100644 --- a/src/Composer/Command/CreateProjectCommand.php +++ b/src/Composer/Command/CreateProjectCommand.php @@ -133,6 +133,9 @@ EOT { $oldCwd = getcwd(); + // we need to manually load the configuration to pass the auth credentials to the io interface! + $io->loadConfiguration($config); + if ($packageName !== null) { $installedFromVcs = $this->installRootPackage($io, $config, $packageName, $directory, $packageVersion, $stability, $preferSource, $preferDist, $installDevPackages, $repositoryUrl, $disablePlugins, $noScripts, $keepVcs, $noProgress); } else {