mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update authentication class
This commit is contained in:
@@ -63,7 +63,7 @@ class authentication {
|
|||||||
$this->database = $setting_array['database'] ?? database::new(['config' => $config]);
|
$this->database = $setting_array['database'] ?? database::new(['config' => $config]);
|
||||||
|
|
||||||
//set the settings object
|
//set the settings object
|
||||||
$this->settings = $setting_array['settings'];
|
$this->settings = $setting_array['settings'] ?? new settings(['database' => $this->database]);
|
||||||
|
|
||||||
//intialize the object
|
//intialize the object
|
||||||
$this->user_uuid = null;
|
$this->user_uuid = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user