diff --git a/src/libs/ValidationUtils.ts b/src/libs/ValidationUtils.ts index e0ab95c2c606..47e44bc049d2 100644 --- a/src/libs/ValidationUtils.ts +++ b/src/libs/ValidationUtils.ts @@ -519,7 +519,7 @@ function isValidPhoneInternational(phoneNumber: string): boolean { const phoneNumberWithCountryCode = LoginUtils.appendCountryCode(phoneNumber); const parsedPhoneNumber = parsePhoneNumber(phoneNumberWithCountryCode); - return Str.isValidE164Phone(parsedPhoneNumber.number?.e164 ?? ''); + return parsedPhoneNumber.possible && Str.isValidE164Phone(parsedPhoneNumber.number?.e164 ?? ''); } /**