From 3bb2cc332254a3b5e1cab057ceb95c962de1d0db Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 12 Aug 2019 23:16:12 -0600 Subject: [PATCH] Update authentication.php --- .../resources/classes/authentication.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/core/authentication/resources/classes/authentication.php b/core/authentication/resources/classes/authentication.php index 7e96f748f3..c235d49f8c 100644 --- a/core/authentication/resources/classes/authentication.php +++ b/core/authentication/resources/classes/authentication.php @@ -65,18 +65,18 @@ class authentication { $plugin = $base."/".$name.".php"; if (file_exists($plugin)) { include_once $plugin; - $obj = new $class_name(); - $obj->debug = $this->debug; - $obj->domain_name = $this->domain_name; - $obj->domain_uuid = $this->domain_uuid; + $object = new $class_name(); + $object->debug = $this->debug; + $object->domain_name = $this->domain_name; + $object->domain_uuid = $this->domain_uuid; if (strlen($this->key) > 0) { - $obj->key = $this->key; + $object->key = $this->key; } if (strlen($this->username) > 0) { - $obj->username = $this->username; - $obj->password = $this->password; + $object->username = $this->username; + $object->password = $this->password; } - $array = $obj->$name(); + $array = $object->$name(); $result['plugin'] = $array["plugin"]; $result['domain_name'] = $array["domain_name"]; $result['username'] = $array["username"];