Commit e56438c
committed
fix(recovery-phone): Don't strip nationalFormat number after successful 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-111661 parent 39a64bd commit e56438c
2 files changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
306 | | - | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
307 | 309 | | |
308 | 310 | | |
309 | 311 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
345 | 348 | | |
346 | 349 | | |
347 | 350 | | |
| |||
0 commit comments