diff --git a/core/authentication/resources/classes/plugins/database.php b/core/authentication/resources/classes/plugins/database.php index 09e0ffeb2a..75df894d5b 100644 --- a/core/authentication/resources/classes/plugins/database.php +++ b/core/authentication/resources/classes/plugins/database.php @@ -155,7 +155,7 @@ class plugin_database { $auth->get_domain(); $this->domain_uuid = $_SESSION['domain_uuid']; $this->domain_name = $_SESSION['domain_name']; - $this->username = $_SESSION['username']; + $this->username = $_SESSION['username'] ?? null; //debug information //echo "domain_uuid: ".$this->domain_uuid."
\n";