Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/user_saml.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2018-07-18 16:14:43 +0300
committerRobin Appelman <robin@icewind.nl>2018-11-20 17:12:51 +0300
commitb7cab9d7406b170aea446184a25057ab5627a36a (patch)
tree6d55b26a72053b71ce6e0a53b4b1d688e4169ce5 /lib
parente123a8b984931fc07fe52b53710b05314f90a125 (diff)
remove anonymous option handling
this was moved to core Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib')
-rw-r--r--lib/DavPlugin.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/DavPlugin.php b/lib/DavPlugin.php
index 00a98d90..b794b85b 100644
--- a/lib/DavPlugin.php
+++ b/lib/DavPlugin.php
@@ -63,15 +63,5 @@ class DavPlugin extends ServerPlugin {
$this->session->set('user_saml.samlUserData', $this->auth);
}
}
-
- if ($request->getMethod() === 'OPTIONS' && $request->getPath() === '') {
- /** @var CorePlugin $corePlugin */
- $corePlugin = $this->server->getPlugin('core');
- // setup a fake tree for anonymous access
- $this->server->tree = new Tree(new Directory(''));
- $corePlugin->httpOptions($request, $response);
- $this->server->sapi->sendResponse($response);
- return false;
- }
}
}