aboutsummaryrefslogtreecommitdiffstats
path: root/apps/federation/lib/DAV/FedAuth.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/federation/lib/DAV/FedAuth.php')
-rw-r--r--apps/federation/lib/DAV/FedAuth.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/federation/lib/DAV/FedAuth.php b/apps/federation/lib/DAV/FedAuth.php
index bb1041adcdf..21c0d61487c 100644
--- a/apps/federation/lib/DAV/FedAuth.php
+++ b/apps/federation/lib/DAV/FedAuth.php
@@ -36,6 +36,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();
}
/**