use $defaults->getName() as webdav REALM
This commit is contained in:
parent
0d604a6c9a
commit
7242480049
1 changed files with 2 additions and 1 deletions
|
@ -43,7 +43,8 @@ $server->httpRequest = $requestBackend;
|
|||
$server->setBaseUri($baseuri);
|
||||
|
||||
// Load plugins
|
||||
$server->addPlugin(new Sabre_DAV_Auth_Plugin($authBackend, 'ownCloud'));
|
||||
$defaults = new OC_Defaults();
|
||||
$server->addPlugin(new Sabre_DAV_Auth_Plugin($authBackend, $defaults->getName()));
|
||||
$server->addPlugin(new Sabre_DAV_Locks_Plugin($lockBackend));
|
||||
$server->addPlugin(new Sabre_DAV_Browser_Plugin(false)); // Show something in the Browser, but no upload
|
||||
$server->addPlugin(new OC_Connector_Sabre_QuotaPlugin());
|
||||
|
|
Loading…
Reference in a new issue