Enable magic OTP on production for App Store review

Code 123456 will work for any phone number to facilitate
App Store review testing.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
John Pinkyfloyd 2026-03-06 16:23:12 -08:00
parent 1568686ff1
commit 4109e3dac4

View file

@ -43,11 +43,11 @@ application.emailCatchAll = isDevEnvironment ? "dev-emails@payfrit.com" : "";
application.emailEnabled = !isDevEnvironment ? true : false; // Disable emails on dev entirely application.emailEnabled = !isDevEnvironment ? true : false; // Disable emails on dev entirely
// ============================================ // ============================================
// MAGIC OTP (for testing) // MAGIC OTP (for testing / App Store review)
// ============================================ // ============================================
// Dev: Allow magic phone number to bypass OTP // Enabled on both dev and production for App Store review
// Prod: Disabled // Code 123456 will work for any phone number
application.MAGIC_OTP_ENABLED = isDevEnvironment; application.MAGIC_OTP_ENABLED = true;
application.MAGIC_OTP_CODE = "123456"; application.MAGIC_OTP_CODE = "123456";
application.MAGIC_PHONE_NUMBERS = ["5555555555", "0000000000"]; application.MAGIC_PHONE_NUMBERS = ["5555555555", "0000000000"];