We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
$this->params['user']
1 parent 733515f commit 3178352Copy full SHA for 3178352
lib/private/Files/ObjectStore/SwiftFactory.php
@@ -122,7 +122,7 @@ private function getClient() {
122
'handler' => HandlerStack::create()
123
]);
124
125
- if (isset($this->params['user']) && isset($this->params['user']['name'])) {
+ if (isset($this->params['user']) && is_array($this->params['user']) && isset($this->params['user']['name'])) {
126
if (!isset($this->params['scope'])) {
127
throw new StorageAuthException('Scope has to be defined for V3 requests');
128
}
0 commit comments