Update: 2026-05-06 03:13:03

This commit is contained in:
Hamza-Ayed
2026-05-06 03:13:03 +03:00
parent 13c2f75432
commit 3a29f26d56
2 changed files with 6 additions and 6 deletions

View File

@@ -82,8 +82,8 @@ $message = "رمز التحقق لتطبيق مُصادَق:\n*{$otp}*\n\nصال
$smsSent = $whatsappService->sendMessage($phone, $message);
if (!$smsSent) {
error_log("WARN: Failed to send OTP WhatsApp to phone hash: {$phoneHash}");
// Still return success to not reveal info, but log the issue
error_log("ERROR: Failed to send OTP WhatsApp to phone: {$phone}");
json_error('عذراً، فشل في إرسال رمز التحقق. الرجاء التأكد من صحة رقم الواتساب الخاص بك والمحاولة مرة أخرى.', 500);
}
// Log for development (REMOVE IN PRODUCTION!)