Fix checking of test app store numbers #746

This commit is contained in:
Ramon Gutierrez 2023-08-10 12:49:06 +08:00
parent e3af21f741
commit 73738b7a18

View file

@ -85,7 +85,7 @@ class AuthController extends ApiController
$otp_mode = $_ENV['OTP_MODE'];
// check for hardcoded phone number for app store testing
if ($phone_number == '639221111111') {
if ($phone_number == '9991112233' || $phone_number == '9221111111') {
$code = '123456';
$this->session->setConfirmCode($code)
->setPhoneNumber($phone_number);