Skip to content
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

fix: Fix missing invalid password for login #13558 #14308

Merged
merged 2 commits into from
Mar 30, 2025

Conversation

Cal-L
Copy link
Contributor

@Cal-L Cal-L commented Mar 28, 2025

Description

Two changes are made in this PR to fix the issue where an invalid password message is missing

  • Remove redundant lockApp call from Authentication. This is not needed since the user is already locked out and is on the login screen. The disappearance of the invalid password message was a result of the lockApp action re-navigating to the login screen
  • We also consolidating the invalid password logic so that the catch block handles both the password requirement and invalid password scenario

Related issues

Fixes: #13558

Manual testing steps

  1. Create a wallet
  2. Kill and re-open app to land on the login screen
  3. Try entering 2 characters and login, which will result in an invalid password message as a result of failed password requirements
  4. Try entering 10 characters, which will result in an invalid password message as a result of a failed vault decryption (wrong password)

Screenshots/Recordings

Before

After

fixed.login.message.mov

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

@Cal-L Cal-L requested review from a team as code owners March 28, 2025 21:27
@Cal-L Cal-L added the team-mobile-platform Mobile Platform team label Mar 28, 2025
Copy link
Contributor

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@Cal-L Cal-L added No QA Needed Apply this label when your PR does not need any QA effort. Run Smoke E2E Triggers smoke e2e on Bitrise needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) labels Mar 28, 2025
@github-project-automation github-project-automation bot moved this to Needs dev review in PR review queue Mar 28, 2025
Copy link
Contributor

github-actions bot commented Mar 28, 2025

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: 29134a3
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/bf24b0c2-2985-47d2-8bb4-37a125bcfc60

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

Tip

  • Check the documentation if you have any doubts on how to understand the failure on bitrise

@Cal-L Cal-L changed the title fix: Fix/13558 wrong password message fix: Fix missing invalid password for login #13558 Mar 28, 2025
@github-project-automation github-project-automation bot moved this from Needs dev review to Review finalised - Ready to be merged in PR review queue Mar 29, 2025
@Cal-L Cal-L added this pull request to the merge queue Mar 30, 2025
Merged via the queue into main with commit a9ccd49 Mar 30, 2025
53 of 57 checks passed
@Cal-L Cal-L deleted the fix/13558-wrong-password-message branch March 30, 2025 04:42
@github-project-automation github-project-automation bot moved this from Review finalised - Ready to be merged to Merged, Closed or Archived in PR review queue Mar 30, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Mar 30, 2025
@github-actions github-actions bot removed the needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) label Mar 30, 2025
@metamaskbot metamaskbot added the release-7.45.0 Issue or pull request that will be included in release 7.45.0 label Mar 30, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
No QA Needed Apply this label when your PR does not need any QA effort. release-7.45.0 Issue or pull request that will be included in release 7.45.0 Run Smoke E2E Triggers smoke e2e on Bitrise team-mobile-platform Mobile Platform team
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[Bug]: No warning message when password is incorrect
4 participants