Skip to content

[$500] [Awaiting Payment]2FA login - Error message shows incorrect 2FA code when incorrect recovery code is used #28044

Closed

Description

@kbecciv

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Issue found when executing PR #23390

Action Performed:

Precondition:

  • User has set up 2FA and saved the recovery codes.
  • User has previously used one of the recovery codes.
  1. Go to login page.
  2. Enter email and magic code.
  3. Click Use recovery code.
  4. Use the recovery code that has already been used before.
    5.Click Sign in.

Expected Result:

The error message mentions incorrect recovery code.

Actual Result:

The error message mentions two-factor authentication code instead of recovery code.

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.3.73.0
Reproducible in staging?: y
Reproducible in production?: new feature
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

Bug6210906_20230922_222809.mp4

Expensify/Expensify Issue URL:
Issue reported by: @ayazhussain79
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1695308760173509

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~011dfd59ea4353f356
  • Upwork Job ID: 1711516319487270912
  • Last Price Increase: 2023-10-09

Activity

  1. OSBotify commented on Sep 22, 2023

    @OSBotify
    Contributor

    👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

    1. Identify the pull request that introduced this issue and revert it.
    2. Find someone who can quickly fix the issue.
    3. Fix the issue yourself.
  2. melvin-bot commented on Sep 22, 2023

    @melvin-bot

    Triggered auto assignment to @chiragsalian (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

  3. mountiny commented on Sep 25, 2023

    @mountiny
    Contributor

    @alitoshmatov @abdulrahuman5196 @MonilBhavsar Seems like a regression from your PR?

    I dont think this is that important though to be a blocker, its not blocking user from logging in and also its rare to use recovery code and the one you have already used. Demoting to a bug and we should fix this probably as a regression from the PR

  4. added
    BugSomething is broken. Auto assigns a BugZero manager.
    and removed
    DeployBlockerCashThis issue or pull request should block deployment
    on Sep 25, 2023
  5. melvin-bot commented on Sep 25, 2023

    @melvin-bot

    Triggered auto assignment to @puneetlath (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

  6. melvin-bot commented on Sep 25, 2023

    @melvin-bot

    Bug0 Triage Checklist (Main S/O)

    • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
    • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
      • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
    • This bug is reproducible using the reproduction steps in the OP. S/O
      • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
      • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
    • This issue is filled out as thoroughly and clearly as possible
      • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
    • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync
  7. 33 remaining items

  8. removed
    Help WantedApply this label when an issue is open to proposals by contributors
    on Oct 9, 2023
  9. puneetlath commented on Oct 9, 2023

    @puneetlath
    Contributor

    Upwork seems to be having issues. Will try again later.

  10. added
    ExternalAdded to denote the issue can be worked on by a contributor
    and removed
    ExternalAdded to denote the issue can be worked on by a contributor
    on Oct 9, 2023
  11. changed the title [-][Awaiting Payment]2FA login - Error message shows incorrect 2FA code when incorrect recovery code is used[/-] [+][$500] [Awaiting Payment]2FA login - Error message shows incorrect 2FA code when incorrect recovery code is used[/+] on Oct 9, 2023
  12. melvin-bot commented on Oct 9, 2023

    @melvin-bot
  13. added
    Help WantedApply this label when an issue is open to proposals by contributors
    on Oct 9, 2023
  14. melvin-bot commented on Oct 9, 2023

    @melvin-bot

    Current assignee @abdulrahuman5196 is eligible for the External assigner, not assigning anyone new.

  15. added
    Awaiting PaymentAuto-added when associated PR is deployed to production
    and removed
    Help WantedApply this label when an issue is open to proposals by contributors
    Awaiting PaymentAuto-added when associated PR is deployed to production
    on Oct 9, 2023
  16. puneetlath commented on Oct 9, 2023

    @puneetlath
    Contributor

    @ayazhussain79 sent you an offer.

  17. ayazhussain79 commented on Oct 10, 2023

    @ayazhussain79
    Contributor

    @puneetlath offer accepted, Thank you

  18. puneetlath commented on Oct 10, 2023

    @puneetlath
    Contributor

    All paid!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2EngineeringExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in review

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions