mirror of
https://github.com/nextcloud/server.git
synced 2026-04-29 18:11:41 -04:00
Merge pull request #22407 from fancycode/untrusted_domain
Pass checked host as "domain" variable to "untrustedDomain" template.
This commit is contained in:
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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue