Commit 150bd0d
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 f99ee3a commit 150bd0d
File tree
2 files changed
+6
-1
lines changed- packages/fxa-auth-server
- lib/routes
- test/local/routes
2 files changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
292 | | - | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
293 | 295 | | |
294 | 296 | | |
295 | 297 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
328 | 331 | | |
329 | 332 | | |
330 | 333 | | |
| |||
0 commit comments