diff --git a/app/Console/Commands/Grapper/Logifuture/Authentication.php b/app/Console/Commands/Grapper/Logifuture/Authentication.php index 6d019114..f2a5edac 100644 --- a/app/Console/Commands/Grapper/Logifuture/Authentication.php +++ b/app/Console/Commands/Grapper/Logifuture/Authentication.php @@ -8,8 +8,6 @@ use App\Utilities\Notice; class Authentication { - public static $password; - public static function authenticate() { $debug = Nuh::$options['d'] ?? 0; @@ -55,7 +53,7 @@ class Authentication curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode([ 'username' => 'nuhodds', - 'password' => self::$password, + 'password' => config('env.logifuture_token'), ])); curl_setopt($ch, CURLOPT_HTTPHEADER, [ 'accept: application/json',