aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/Config/ConfigAdapter.php
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-10-07 15:31:03 +0200
committerJulius Härtl <jus@bitgrid.net>2020-12-21 22:55:06 +0100
commit35e5cc88f0e77738bbe47a01d4f95bc9ad40f2f0 (patch)
tree5d2159d6b011bce9d93e9c56bd8ae5e49bddc7db /apps/files_external/lib/Config/ConfigAdapter.php
parentb37397d4fc39196f49a3d1e858e9c0ad7e119793 (diff)
downloadnextcloud-server-35e5cc88f0e77738bbe47a01d4f95bc9ad40f2f0.tar.gz
nextcloud-server-35e5cc88f0e77738bbe47a01d4f95bc9ad40f2f0.zip
Expose session based authentication through mount point type
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/files_external/lib/Config/ConfigAdapter.php')
-rw-r--r--apps/files_external/lib/Config/ConfigAdapter.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_external/lib/Config/ConfigAdapter.php b/apps/files_external/lib/Config/ConfigAdapter.php
index 816b4374629..2528c090d66 100644
--- a/apps/files_external/lib/Config/ConfigAdapter.php
+++ b/apps/files_external/lib/Config/ConfigAdapter.php
@@ -161,6 +161,7 @@ class ConfigAdapter implements IMountProvider {
if ($storageConfig->getType() === StorageConfig::MOUNT_TYPE_PERSONAl) {
return new PersonalMount(
$this->userStoragesService,
+ $storageConfig,
$storageConfig->getId(),
$storage,
'/' . $user->getUID() . '/files' . $storageConfig->getMountPoint(),
@@ -171,6 +172,7 @@ class ConfigAdapter implements IMountProvider {
);
} else {
return new ExternalMountPoint(
+ $storageConfig,
$storage,
'/' . $user->getUID() . '/files' . $storageConfig->getMountPoint(),
null,