Authentication - Database: Resolve PHP 8.1 warning when using API Key login.

This commit is contained in:
fusionate 2023-06-28 20:54:34 +00:00
parent 1f0d24a447
commit c143b9fe83
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -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."<br />\n";