diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-03-24 16:02:36 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-03-31 19:31:31 +0200 |
commit | 262547ba3d81a870521ad65bca770e9e1b14f229 (patch) | |
tree | 3e40af7415b50ae09e80956ecd296c0202d82785 /apps/dav/appinfo | |
parent | bfb5748f1f9d0c76ce311a88ea117c0cb3d7a653 (diff) | |
download | nextcloud-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.php | 2 |
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(), |