-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Web - Magic input showing along with delivery failure page for suspended accounts #23544
Comments
Triggered auto assignment to @jliexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.magic input showing along with delivery failure page for suspended accounts What is the root cause of that problem?Root cause of the issue is the wrong logic or we could say missed check in App/src/pages/signin/SignInPage.js Lines 65 to 67 in 33ed167
Here when in response to api call to /beginsignin we receive hasEmailDeliveryFailure true for the suspended emails, then we are showing delivery failure page using shouldShowEmailDeliveryFailurePage . And for showing magic input form we have boolean shouldShowValidateCodeForm and as visible in the code above, it does not check for the suspended emails. That is why we see both magic input and delivery failure page together since both booleans evaluate to true in such case.
What changes do you think we should make in order to solve the problem?We need to check for suspended emails too before showing magic input form and for that we can add an additional boolean AND to the Results |
dupe #23466 cc @jliexpensify |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @amyevans ( |
As previously stated this is a duplicate of #23466 so no need for payments (unassigning you @jliexpensify!). Since the PR fix (#23512) is still open and unreviewed, I'll hop in there to review and move things along quicker. |
Looks like the fix for this has been CPed, I'll test on staging to confirm |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
Only delivery error page should be shown
Actual Result:
Magic input showing along with delivery failure page for suspended accounts
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: Dev 1.3.45.1
Reproducible in staging?: n/a
Reproducible in production?: n/a
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Screen.Recording.2023-07-24.at.8.17.36.PM.mov
Recording.3897.mp4
Expensify/Expensify Issue URL:
Issue reported by: @chiragxarora
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1690210023703719
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: