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:
parent
1568686ff1
commit
4109e3dac4
1 changed files with 4 additions and 4 deletions
|
|
@ -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"];
|
||||
|
||||
|
|
|
|||
Reference in a new issue