Update authentication.php

This commit is contained in:
FusionPBX 2023-05-12 20:30:17 -06:00 committed by GitHub
parent ecf60103a1
commit a4fddc7897
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -482,8 +482,10 @@ class authentication {
$obj->set();
//set the domain settings
$_SESSION['domain_name'] = $this->domain_name;
$_SESSION['domain_parent_uuid'] = $_SESSION["domain_uuid"];
if (!empty($this->domain_name) && !empty($_SESSION["domain_uuid"])) {
$_SESSION['domain_name'] = $this->domain_name;
$_SESSION['domain_parent_uuid'] = $_SESSION["domain_uuid"];
}
//set the domain name
return $this->domain_name;