feat(otp): mock phone OTP fallback while Twilio is down #17

Merged
tanweer919 merged 1 commits from tanweer919/lynkeduppro-crm:feat/login-methods into goutamnextflow 2026-07-13 08:31:30 +00:00
Collaborator

Gates the Verify step behind NEXT_PUBLIC_MOCK_OTP (default true): Send code skips Twilio and code 123456 verifies, with demo-mode copy. Real addPhone/verifyPhone path untouched — flip the flag to false to restore live SMS.

Gates the Verify step behind NEXT_PUBLIC_MOCK_OTP (default true): Send code skips Twilio and code 123456 verifies, with demo-mode copy. Real addPhone/verifyPhone path untouched — flip the flag to false to restore live SMS.
tanweer919 added 1 commit 2026-07-13 08:31:27 +00:00
The Twilio sender isn't delivering, so gate the Verify step behind
NEXT_PUBLIC_MOCK_OTP (default true): 'Send code' skips Supabase/Twilio and a
fixed demo code (123456) verifies, with clear demo-mode copy. The real
addPhone/verifyPhone path is untouched — flip the flag to "false" to restore
live SMS verification.
tanweer919 merged commit 925170296e into goutamnextflow 2026-07-13 08:31:30 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Goutam/lynkeduppro-crm#17