Skip to content

fix(recovery-phone): Don't strip nationalFormat number after successful setup#18396

Merged
LZoog merged 1 commit intomainfrom
FXA-11166
Feb 21, 2025
Merged

fix(recovery-phone): Don't strip nationalFormat number after successful setup#18396
LZoog merged 1 commit intomainfrom
FXA-11166

Conversation

@LZoog
Copy link
Copy Markdown
Contributor

@LZoog LZoog commented Feb 19, 2025

Because:

  • We are stripping the nationalFormat from Twilio to only return 4 digits, even though the response in question is for a successful recovery phone set up

This commit:

  • Returns the full nationalFormat in this case, as the user is logged in and confirmed their code

fixes FXA-11162
fixes FXA-11166

…ul setup

Because:
* We are stripping the nationalFormat from Twilio to only return 4 digits, even though the response in question is for a successful recovery phone set up

This commit:
* Returns the full nationalFormat in this case, as the user is logged in and confirmed their code

fixes FXA-11162
fixes FXA-11166
@LZoog LZoog requested a review from a team as a code owner February 19, 2025 18:43
Copy link
Copy Markdown
Contributor

@vpomerleau vpomerleau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested adding, using and removing phone number locally and works well! Number displayed/masked as expected :)

@LZoog LZoog merged commit 68f8b50 into main Feb 21, 2025
@LZoog LZoog deleted the FXA-11166 branch February 21, 2025 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants