fix register 2

This commit is contained in:
2026-06-01 17:27:11 +03:30
parent 77ae52d35d
commit 205d4c2502
+1 -8
View File
@@ -123,14 +123,7 @@ class Controller extends BaseController
//SMS
if ($send_sms or $force_method=="sms") {
$endpoint = "https://www.0098sms.com/sendsmslink.aspx";
$response = Http::withOptions([
'curl' => [
// اجبار به استفاده از IPv4 و جلوگیری از تاخیر IPv6
\CURLOPT_IPRESOLVE => \CURL_IPRESOLVE_V4,
// افزایش سرعت برقراری ارتباط TCP
\CURLOPT_TCP_FASTOPEN => 1,
]
])->withoutVerifying()->get($endpoint, [
$response = Http::withoutVerifying()->get($endpoint, [
'FROM' => $credentials['sms']['sender'],
'TO' => $to,
'TEXT' => trim($msg),