Commit Graph

17 Commits

Author SHA1 Message Date
ghost2023
3a5126670f fix: centralized on rabbitmq for sms 2026-08-04 15:32:49 +03:00
ghost2023
da79cb5acd fix: opt 2026-08-02 13:20:51 +03:00
Nathnael
1be6744f09 fix: test 2026-07-22 07:34:41 +00:00
Nathnael
a5ab6fe5c1 chore: filter out safari phone as foreign 2026-07-22 07:18:07 +00:00
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
Nathnael
0549a88d57 feat: otp double sending 2026-07-20 12:10:49 +00:00
Nathnael
a45e1008fa fix: normalized the region and logged the otp properly 2026-07-20 08:19:59 +00:00
Marshal
fe29b38377 fix issue 2026-07-16 01:05:57 +00:00
Marshal
41fe04652f fix issue 2026-07-16 00:33:31 +00:00
Nathnael
e04b513b8f feat: password reset flow 2026-07-09 08:50:08 +00:00
Marshal
88b1e548a2 resolve conflict 2026-07-07 22:24:42 +00:00
Marshal
87a95b37bf enhance train scheduling and booking management 2026-07-07 21:38:45 +00:00
Nathnael
37ec1c40ab chore: add loger 2026-07-03 11:48:39 +00:00
Nathnael
4e6e614b48 feat: add email to notification and otp 2026-07-03 10:59:58 +00:00
Nathnael
6fd9b6d519 chore: setup sms rabbit mq 2026-06-25 07:41:33 +00:00
Nathnael
360f6885d5 feat: setup contact person verification 2026-06-25 06:17:57 +00:00
yaschalew
5a4d6baec2 user account create 2026-05-26 05:40:53 +03:00