From 4109e3dac4feb77f3bd80998f3147099259b0ec8 Mon Sep 17 00:00:00 2001 From: John Pinkyfloyd Date: Fri, 6 Mar 2026 16:23:12 -0800 Subject: [PATCH] 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 --- api/config/environment.cfm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/config/environment.cfm b/api/config/environment.cfm index 45c3589..991bfbf 100644 --- a/api/config/environment.cfm +++ b/api/config/environment.cfm @@ -43,11 +43,11 @@ application.emailCatchAll = isDevEnvironment ? "dev-emails@payfrit.com" : ""; 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 -// Prod: Disabled -application.MAGIC_OTP_ENABLED = isDevEnvironment; +// Enabled on both dev and production for App Store review +// Code 123456 will work for any phone number +application.MAGIC_OTP_ENABLED = true; application.MAGIC_OTP_CODE = "123456"; application.MAGIC_PHONE_NUMBERS = ["5555555555", "0000000000"];