diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-26 15:02:10 +0300 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-26 15:02:10 +0300 |
commit | 26201bd4140efac6beb29748ea1fa924f9e4242b (patch) | |
tree | e0e48843bb8155b0cee57ee010294f7860718aae /apps/dav | |
parent | c79496b5a3ac05f607e4ac0d4036da42e120d28f (diff) |
Adding required parameters of ctor of class Auth
Diffstat (limited to 'apps/dav')
-rw-r--r-- | apps/dav/lib/server.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/dav/lib/server.php b/apps/dav/lib/server.php index fa572eb30d1..055c5a5fc2c 100644 --- a/apps/dav/lib/server.php +++ b/apps/dav/lib/server.php @@ -21,7 +21,10 @@ class Server { $this->server = new \OCA\DAV\Connector\Sabre\Server($root); // Backends - $authBackend = new Auth(); + $authBackend = new Auth( + \OC::$server->getSession(), + \OC::$server->getUserSession() + ); // Set URL explicitly due to reverse-proxy situations $this->server->httpRequest->setUrl($this->request->getRequestUri()); |