Update: 2026-07-21 19:22:23

This commit is contained in:
Hamza-Ayed
2026-07-21 19:22:23 +03:00
parent 0351bffafc
commit 1103f6ffcf
+2 -1
View File
@@ -216,5 +216,6 @@ if ($sentSuccessfully) {
jsonError("OTP sent but failed to save verification data"); jsonError("OTP sent but failed to save verification data");
} }
} else { } else {
jsonError("Failed to send verification code. Please try again."); $errDetail = !empty($GLOBALS['last_otp_error']) ? $GLOBALS['last_otp_error'] : "Failed to send verification code. Please try again.";
jsonError($errDetail);
} }