Update Saqel Platform: 2026-09-09 00:52:08
This commit is contained in:
@@ -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'] ?? 'تعذر إرسال رمز التحقق عبر الواتساب من منصة نبيه';
|
||||
|
||||
Reference in New Issue
Block a user