diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2017-02-22 21:47:49 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-03-22 18:13:42 -0600 |
commit | 9eca1da1dd9534f68672b3164da5ab56df285e42 (patch) | |
tree | 77299279ba9a5aabac8aa8afe8d085b23a41ba5c /apps/files_external | |
parent | d551b8e6fdacd7659216b1e698b71840b569b525 (diff) | |
download | nextcloud-server-9eca1da1dd9534f68672b3164da5ab56df285e42.tar.gz nextcloud-server-9eca1da1dd9534f68672b3164da5ab56df285e42.zip |
allow configuring authType for DAV backend
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/files_external')
-rw-r--r-- | apps/files_external/lib/Lib/Storage/OwnCloud.php | 2 |
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); } |