From d7c9ae23efb73d97536902694bb22e551fc84184 Mon Sep 17 00:00:00 2001 From: John Pinkyfloyd Date: Fri, 6 Mar 2026 16:39:07 -0800 Subject: [PATCH] Revert "Enable magic OTP on production for App Store review" This reverts commit 4109e3dac4feb77f3bd80998f3147099259b0ec8. --- 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 991bfbf..45c3589 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 / App Store review) +// MAGIC OTP (for testing) // ============================================ -// Enabled on both dev and production for App Store review -// Code 123456 will work for any phone number -application.MAGIC_OTP_ENABLED = true; +// Dev: Allow magic phone number to bypass OTP +// Prod: Disabled +application.MAGIC_OTP_ENABLED = isDevEnvironment; application.MAGIC_OTP_CODE = "123456"; application.MAGIC_PHONE_NUMBERS = ["5555555555", "0000000000"];