Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'apps/federation/dav/fedauth.php')
-rw-r--r--apps/federation/dav/fedauth.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/federation/dav/fedauth.php b/apps/federation/dav/fedauth.php
index 6c45fd556cf..b3d39be1c84 100644
--- a/apps/federation/dav/fedauth.php
+++ b/apps/federation/dav/fedauth.php
@@ -38,6 +38,10 @@ class FedAuth extends AbstractBasic {
public function __construct(DbHandler $db) {
$this->db = $db;
$this->principalPrefix = 'principals/system/';
+
+ // setup realm
+ $defaults = new \OC_Defaults();
+ $this->realm = $defaults->getName();
}
/**