Skip to content
Snippets Groups Projects
Commit 26201bd4 authored by Thomas Müller's avatar Thomas Müller
Browse files

Adding required parameters of ctor of class Auth

parent c79496b5
No related branches found
No related tags found
No related merge requests found
......@@ -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());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment