This commit is contained in:
salam committed 2026-01-15 12:59:33 +01:00
1 parent a7ec1402b8
commit 4855409af0
1 file changed
+1 -3
@@ -8,8 +8,6 @@ use App\Utilities\Notice;
class Authentication class Authentication
{ {
public static $password;
public static function authenticate() public static function authenticate()
{ {
$debug = Nuh::$options['d'] ?? 0; $debug = Nuh::$options['d'] ?? 0;
@@ -55,7 +53,7 @@ class Authentication
curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode([ curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode([
'username' => 'nuhodds', 'username' => 'nuhodds',
'password' => self::$password, 'password' => config('env.logifuture_token'),
])); ]));
curl_setopt($ch, CURLOPT_HTTPHEADER, [ curl_setopt($ch, CURLOPT_HTTPHEADER, [
'accept: application/json', 'accept: application/json',