summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php
index fc4a99287d0..df4e91dda9f 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -692,7 +692,7 @@ class OC {
);
$tmpl = new OCP\Template('core', 'untrustedDomain', 'guest');
- $tmpl->assign('domain', $request->server['SERVER_NAME']);
+ $tmpl->assign('domain', $host);
$tmpl->printPage();
exit();