summaryrefslogtreecommitdiffstats
path: root/apps/dav/appinfo
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-03-24 16:02:36 +0100
committerLukas Reschke <lukas@owncloud.com>2016-03-31 19:31:31 +0200
commit262547ba3d81a870521ad65bca770e9e1b14f229 (patch)
tree3e40af7415b50ae09e80956ecd296c0202d82785 /apps/dav/appinfo
parentbfb5748f1f9d0c76ce311a88ea117c0cb3d7a653 (diff)
downloadnextcloud-server-262547ba3d81a870521ad65bca770e9e1b14f229.tar.gz
nextcloud-server-262547ba3d81a870521ad65bca770e9e1b14f229.zip
Return 401 DummyBasicAuth in case of ajax call
Diffstat (limited to 'apps/dav/appinfo')
-rw-r--r--apps/dav/appinfo/v1/publicwebdav.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/appinfo/v1/publicwebdav.php b/apps/dav/appinfo/v1/publicwebdav.php
index b0ee264aac3..558a8238666 100644
--- a/apps/dav/appinfo/v1/publicwebdav.php
+++ b/apps/dav/appinfo/v1/publicwebdav.php
@@ -32,7 +32,7 @@ OC_App::loadApps($RUNTIME_APPTYPES);
OC_Util::obEnd();
// Backends
-$authBackend = new OCA\DAV\Connector\PublicAuth(\OC::$server->getConfig());
+$authBackend = new OCA\DAV\Connector\PublicAuth(\OC::$server->getConfig(), \OC::$server->getRequest());
$serverFactory = new OCA\DAV\Connector\Sabre\ServerFactory(
\OC::$server->getConfig(),