diff options
author | Robin McCorkell <rmccorkell@owncloud.com> | 2015-09-03 09:50:45 +0100 |
---|---|---|
committer | Robin McCorkell <rmccorkell@owncloud.com> | 2015-09-03 09:57:29 +0100 |
commit | 442f5269ef229afa09cbe1e06b2a73bb9656e8c4 (patch) | |
tree | abb64ad06040d3741b9dc3d3a33b54eedc3e87ef /apps/files_external/lib | |
parent | e33d7b34fa14541b6d757e7cb2551870c939d15e (diff) | |
download | nextcloud-server-442f5269ef229afa09cbe1e06b2a73bb9656e8c4.tar.gz nextcloud-server-442f5269ef229afa09cbe1e06b2a73bb9656e8c4.zip |
Fix Swift legacy auth mechanism fallback
Diffstat (limited to 'apps/files_external/lib')
-rw-r--r-- | apps/files_external/lib/backend/swift.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/backend/swift.php b/apps/files_external/lib/backend/swift.php index 9f01a923638..c0ac7c08345 100644 --- a/apps/files_external/lib/backend/swift.php +++ b/apps/files_external/lib/backend/swift.php @@ -49,7 +49,7 @@ class Swift extends Backend { ->setDependencyCheck('\OC\Files\Storage\Swift::checkDependencies') ->addAuthScheme(AuthMechanism::SCHEME_OPENSTACK) ->setLegacyAuthMechanismCallback(function(array $params) use ($openstackAuth, $rackspaceAuth) { - if (isset($params['key'])) { + if (isset($params['options']['key']) && $params['options']['key']) { return $rackspaceAuth; } return $openstackAuth; |