Update Saqel Platform: 2026-09-09 00:52:08

This commit is contained in:
Hamza-Ayed
2026-09-09 00:52:08 +03:00
parent 0c239c431d
commit 8183e53b86
4 changed files with 30 additions and 5 deletions
+3 -2
View File
@@ -131,9 +131,10 @@ class AuthController
return;
}
// 4. Send OTP via Nabeh Service
// 4. Send OTP via Nabeh Service (Canonical Default: Luxury Image Card)
$nabeh = new NabehService();
$sendResult = $nabeh->sendOtp($cleanPhone, $otp, 'image', $appName);
$otpType = (string)(getenv('NABEH_OTP_TYPE') ?: 'image');
$sendResult = $nabeh->sendOtp($cleanPhone, $otp, $otpType, $appName);
if (!$sendResult['success']) {
$errorMsg = $sendResult['error'] ?? 'تعذر إرسال رمز التحقق عبر الواتساب من منصة نبيه';