Merge pull request #22407 from fancycode/untrusted_domain

Pass checked host as "domain" variable to "untrustedDomain" template.
remotes/origin/users-ajaxloadgroups
Thomas Müller 2016-02-16 08:29:02 +07:00
commit 60d22f834f
1 changed files with 1 additions and 1 deletions

@ -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();