summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2017-05-18 21:38:55 +0200
committerLukas Reschke <lukas@statuscode.ch>2017-05-18 21:38:55 +0200
commit639ba526d0eb763be360e5c57d194758291c3ff0 (patch)
tree09c09a01169617342d5e02f899d21268284799a7 /apps/dav/lib
parentf93db724d7905d9858af2d2d4cf083c20b9c28de (diff)
downloadnextcloud-server-639ba526d0eb763be360e5c57d194758291c3ff0.tar.gz
nextcloud-server-639ba526d0eb763be360e5c57d194758291c3ff0.zip
Adjust realm from SabreDAV to Nextcloud
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'apps/dav/lib')
-rw-r--r--apps/dav/lib/Connector/Sabre/BearerAuth.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/dav/lib/Connector/Sabre/BearerAuth.php b/apps/dav/lib/Connector/Sabre/BearerAuth.php
index dd0a1bac292..f0e0f389c33 100644
--- a/apps/dav/lib/Connector/Sabre/BearerAuth.php
+++ b/apps/dav/lib/Connector/Sabre/BearerAuth.php
@@ -50,6 +50,10 @@ class BearerAuth extends AbstractBearer {
$this->session = $session;
$this->request = $request;
$this->principalPrefix = $principalPrefix;
+
+ // setup realm
+ $defaults = new \OCP\Defaults();
+ $this->realm = $defaults->getName();
}
private function setupUserFs($userId) {