Skip to content

Commit

Permalink
Change rackspace password config
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellvanw committed Jun 20, 2014
1 parent ed30b1c commit ddadb16
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -75,7 +75,7 @@ This package is actively being developed and we would like to get feedback to im
'rackspace' => [
'type' => 'Rackspace',
'username' => '',
'password' => '',
'key' => '',
'container' => '',
'zone' => '',
'root' => '',
Expand Down
2 changes: 1 addition & 1 deletion config/storage.php
Expand Up @@ -16,7 +16,7 @@
'rackspace' => [
'type' => 'Rackspace',
'username' => '',
'password' => '',
'key' => '',
'container' => '',
'zone' => '',
'root' => '',
Expand Down
2 changes: 1 addition & 1 deletion src/Filesystems/RackspaceFilesystem.php
Expand Up @@ -29,7 +29,7 @@ public function get(array $config)
{
$client = new OpenStack(Rackspace::UK_IDENTITY_ENDPOINT, [
'username' => $config['username'],
'password' => $config['password'],
'password' => $config['key'],
]);
$container = $client->objectStoreService('cloudFiles', $config['zone'])->getContainer($config['container']);
return new Flysystem(new RackspaceAdapter($container, $config['root']));
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/Filesystems/RackspaceFilesystemTest.php
Expand Up @@ -35,7 +35,7 @@ public function test_get_correct_filesystem()
$rackspace = new RackspaceFilesystem;
$filesystem = $rackspace->get([
'username' => 'username',
'password' => 'password',
'key' => 'key',
'root' => 'root',
'zone' => 'zone'
]);
Expand Down

0 comments on commit ddadb16

Please sign in to comment.