Skip to content

Add exception handling to view account recovery poup #294

Description

@nimish-ks

Describe the bug

Currently if a user wishes to view their recovery phrase by going to setting and happens enters an incorrect sudo password and clicks unlock the process fails silently without any obvious indication weather the password entered was correct or not.

To Reproduce

Steps to reproduce the behavior:

  1. Log into the Phase Console
  2. Go to Settings
  3. Click on the Account tab
  4. In the Recovery section click - View recovery info
    4.5 Open browser console
  5. In the View account recovery popup enter an incorrect password

Expected behavior

  1. There should be an indicator, ideally in the form of a spinner that is displayed on the Unlock button while the crypto functions are fired and keys are computed
  2. If a password that the user has entered is incorrect, a toast indicating a failure should be shown.

Screenshots

image

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfosshackIssues for FOSS Hack 2024frontendChange in frontend codegood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions