From bee1d7371234bfae39232efef171ac2fa7d48fa7 Mon Sep 17 00:00:00 2001 From: salam Date: Wed, 14 Jan 2026 19:26:53 +0100 Subject: [PATCH] wip --- app/Console/Commands/Grapper/Logifuture/Auth.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/Console/Commands/Grapper/Logifuture/Auth.php b/app/Console/Commands/Grapper/Logifuture/Auth.php index 16383ad8..925a8847 100644 --- a/app/Console/Commands/Grapper/Logifuture/Auth.php +++ b/app/Console/Commands/Grapper/Logifuture/Auth.php @@ -37,9 +37,14 @@ class Auth curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 30); curl_setopt($ch, CURLOPT_POST, true); + curl_setopt($ch, CURLOPT_POSTFIELDS, [ + 'username' => 'nuhodds', + 'password' => self::$password, + ]); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HTTPHEADER, [ - 'Proxy-Auth: AIkcoRnipSgMK88WMQhOQQN3LKDrNDCIebNfPnEayJdmDeTigx', + 'accept: application/json', + 'content-type: application/json', ]); }