aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2023-09-07 13:15:45 -0100
committerMaxence Lange <maxence@artificial-owl.com>2023-09-20 08:23:45 -0100
commitc6c06d517cfe80f1a75c7eff2b66fb9cefea86d9 (patch)
treea55e9432a0998d56f8276500a1b90b2d2e45a59f /apps/files_sharing/lib
parent8b9e7e235dd7711bba31441e9a8b09dc33f85d38 (diff)
downloadnextcloud-server-c6c06d517cfe80f1a75c7eff2b66fb9cefea86d9.tar.gz
nextcloud-server-c6c06d517cfe80f1a75c7eff2b66fb9cefea86d9.zip
set authType to basic
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'apps/files_sharing/lib')
-rw-r--r--apps/files_sharing/lib/External/Storage.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/lib/External/Storage.php b/apps/files_sharing/lib/External/Storage.php
index 0ab53f9d1cc..e3fe9c7f51e 100644
--- a/apps/files_sharing/lib/External/Storage.php
+++ b/apps/files_sharing/lib/External/Storage.php
@@ -109,6 +109,7 @@ class Storage extends DAV implements ISharedStorage, IDisableEncryptionStorage,
'host' => $host,
'root' => $webDavEndpoint,
'user' => $options['token'],
+ 'authType' => \Sabre\DAV\Client::AUTH_BASIC,
'password' => (string)$options['password']
]
);