Adding required parameters of ctor of class Auth
This commit is contained in:
parent
c79496b5a3
commit
26201bd414
|
@ -21,7 +21,10 @@ class Server {
|
||||||
$this->server = new \OCA\DAV\Connector\Sabre\Server($root);
|
$this->server = new \OCA\DAV\Connector\Sabre\Server($root);
|
||||||
|
|
||||||
// Backends
|
// Backends
|
||||||
$authBackend = new Auth();
|
$authBackend = new Auth(
|
||||||
|
\OC::$server->getSession(),
|
||||||
|
\OC::$server->getUserSession()
|
||||||
|
);
|
||||||
|
|
||||||
// Set URL explicitly due to reverse-proxy situations
|
// Set URL explicitly due to reverse-proxy situations
|
||||||
$this->server->httpRequest->setUrl($this->request->getRequestUri());
|
$this->server->httpRequest->setUrl($this->request->getRequestUri());
|
||||||
|
|
Loading…
Reference in New Issue