Users are not signed in to Sync after entering their 2FA code
This commit:
Prevents the fxaLogin web channel message from being sent up if the next page in the navigation flow is TOTP since we send it up on submit on that page
fixes FXA-9837
To test this, create an account and add 2FA, then launch fxa-dev-launcher and go through the flow in Backbone and observe behavior. Then go through the flow again with React and ensure parity.
Also please double check going through this without TOTP to ensure no regression (which I did test). Might be good also to check the flow that goes through signin_token_code (I did not test) but Vijay is working on an intermittent issue in that flow.
Because:
This commit:
fixes FXA-9837
To test this, create an account and add 2FA, then launch
fxa-dev-launcher
and go through the flow in Backbone and observe behavior. Then go through the flow again with React and ensure parity.Also please double check going through this without TOTP to ensure no regression (which I did test). Might be good also to check the flow that goes through
signin_token_code
(I did not test) but Vijay is working on an intermittent issue in that flow.