summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Connector/PublicAuth.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/lib/Connector/PublicAuth.php')
-rw-r--r--apps/dav/lib/Connector/PublicAuth.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Connector/PublicAuth.php b/apps/dav/lib/Connector/PublicAuth.php
index cc51a249e75..fb952a8a995 100644
--- a/apps/dav/lib/Connector/PublicAuth.php
+++ b/apps/dav/lib/Connector/PublicAuth.php
@@ -61,7 +61,7 @@ class PublicAuth extends AbstractBasic {
// setup realm
$defaults = new \OCP\Defaults();
- $this->realm = $defaults->getName();
+ $this->realm = $defaults->getName() ?: 'Nextcloud';
}
/**