Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.42k stars 1.99k forks source link

Two Step (2FA) missing +682 country code #44443

Open xpurichan opened 4 years ago

xpurichan commented 4 years ago

Steps to reproduce

  1. Starting at URL: https://wordpress.com/me/security/two-step
  2. Perform a new setup of two-factor authentication and try to find the +682 country code. (Should be under Cook Island or Rarotonga)
  3. The +682 country code isn't available, and this prevents the user from securing their account with 2SA/2FA.

What I expected

+682 country code to be available

Context / Source

user-report in 3175072-zd

simison commented 4 years ago

cc @Automattic/i18n

akirk commented 4 years ago

@xpurichan Did they maybe reveal the 4th digit as well? The library we are using only specifies +6825 or +6827 for Cook Islands: https://github.com/AfterShip/phone/blob/master/lib/iso3166Data.js#L399

akirk commented 4 years ago

Looks like +6828 might have been added in 2016 but I wasn't able to verify this in the official https://www.itu.int/oth/T020200002F/en document since it's only from 2006.

xpurichan commented 4 years ago

@akirk unfortunately they didn't and I thought the 3-digit number was fine since it's what Google shows too. I see another HE has asked them in the above ticket. If we get a reply we'll update you here.

github-actions[bot] commented 3 years ago

This issue is stale because it has been 180 days with no activity. You can keep the issue open by adding a comment. If you do, please provide additional context and explain why you’d like it to remain open. You can also close the issue yourself — if you do, please add a brief explanation and apply one of relevant issue close labels.

Robertght commented 3 years ago

I'm adding this one to the board, but I reckon we can also recommend users to choose the app instead as a workaround.

cuemarie commented 1 year ago

Related:

github-actions[bot] commented 1 year ago

Support References

This comment is automatically generated. Please do not edit it.