Update authentication class

This commit is contained in:
FusionPBX
2025-11-03 11:10:47 -07:00
committed by GitHub
parent 8588abc563
commit ceeb720ce7

View File

@@ -63,7 +63,7 @@ class authentication {
$this->database = $setting_array['database'] ?? database::new(['config' => $config]);
//set the settings object
$this->settings = $setting_array['settings'];
$this->settings = $setting_array['settings'] ?? new settings(['database' => $this->database]);
//intialize the object
$this->user_uuid = null;