summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2017-03-23 19:28:49 +0100
committerGitHub <noreply@github.com>2017-03-23 19:28:49 +0100
commit9039b71a2302a2c23c137c25c1cd1365a23b4b60 (patch)
tree65947f3abe748ec75d806efbc78f30ca41cbd639 /apps
parentf38d36a16167041da7bf528d3822d3ab30c93c1f (diff)
parent9eca1da1dd9534f68672b3164da5ab56df285e42 (diff)
downloadnextcloud-server-9039b71a2302a2c23c137c25c1cd1365a23b4b60.tar.gz
nextcloud-server-9039b71a2302a2c23c137c25c1cd1365a23b4b60.zip
Merge pull request #4000 from nextcloud/backport-27216
allow configuring authType for DAV backend
Diffstat (limited to 'apps')
-rw-r--r--apps/files_external/lib/Lib/Storage/OwnCloud.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_external/lib/Lib/Storage/OwnCloud.php b/apps/files_external/lib/Lib/Storage/OwnCloud.php
index 4a10844a770..427b55a4a54 100644
--- a/apps/files_external/lib/Lib/Storage/OwnCloud.php
+++ b/apps/files_external/lib/Lib/Storage/OwnCloud.php
@@ -23,6 +23,7 @@
*/
namespace OCA\Files_External\Lib\Storage;
+use Sabre\DAV\Client;
/**
* ownCloud backend for external storage based on DAV backend.
@@ -69,6 +70,7 @@ class OwnCloud extends \OC\Files\Storage\DAV{
$params['host'] = $host;
$params['root'] = $contextPath . self::OC_URL_SUFFIX . $root;
+ $params['authType'] = Client::AUTH_BASIC;
parent::__construct($params);
}