summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/connector/publicauth.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/lib/connector/publicauth.php')
-rw-r--r--apps/files_sharing/lib/connector/publicauth.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_sharing/lib/connector/publicauth.php b/apps/files_sharing/lib/connector/publicauth.php
index 4144dafa379..a630d091fd4 100644
--- a/apps/files_sharing/lib/connector/publicauth.php
+++ b/apps/files_sharing/lib/connector/publicauth.php
@@ -69,6 +69,8 @@ class PublicAuth extends \Sabre\DAV\Auth\Backend\AbstractBasic {
} else {
return false;
}
+ } elseif ($linkItem['share_type'] == \OCP\Share::SHARE_TYPE_REMOTE) {
+ return true;
} else {
return false;
}