Files
edr-platform/apps/edr-freight-web/backoffice
Nathnael 649316070d fix(otp): fall back to email for foreign phone numbers
The SMS gateway is domestic-only, but OTP sends fanned out to any phone
on the account - a foreign number meant a code queued into the void
while the response claimed success. isDomesticPhone (+2519/+2517 E.164)
now gates SMS: dual-channel sends with a foreign phone go email-only
(the phone stays on the row so verify still matches it), and a
phone-only foreign target still tries SMS as the only route. The
staff-triggered reset exposes phoneIsDomestic so the backoffice disables
the SMS channel with an explanation, and the API refuses the channel
directly for foreign numbers.

EDRFREIGHT-186
2026-07-21 09:09:45 +00:00
..
2026-07-11 12:17:33 +03:00
2026-07-16 08:52:29 +00:00
2026-06-13 14:32:26 +03:00
2026-07-14 07:45:33 +00:00
2026-05-12 15:17:16 +03:00
2026-07-16 08:52:29 +00:00
2026-07-10 13:04:39 +00:00
2026-05-12 15:17:16 +03:00
2026-07-10 16:20:31 +03:00