diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-07-23 18:14:05 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-07-23 18:14:05 +0200 |
commit | 7242480049d1fcc32fba0d1acb7c8572d7b9350f (patch) | |
tree | c56f8f1ac886af2377886f0716aa015d27d9805c /apps/files/appinfo | |
parent | 0d604a6c9aa216fc9fec46a364a45e67fbb80d96 (diff) | |
download | nextcloud-server-7242480049d1fcc32fba0d1acb7c8572d7b9350f.tar.gz nextcloud-server-7242480049d1fcc32fba0d1acb7c8572d7b9350f.zip |
use $defaults->getName() as webdav REALM
Diffstat (limited to 'apps/files/appinfo')
-rw-r--r-- | apps/files/appinfo/remote.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files/appinfo/remote.php b/apps/files/appinfo/remote.php index 6c92cc80b69..a1444141099 100644 --- a/apps/files/appinfo/remote.php +++ b/apps/files/appinfo/remote.php @@ -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()); |