console
console copied to clipboard
Add exception handling to view account recovery poup
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:
- Log into the Phase Console
- Go to Settings
- Click on the Account tab
- In the Recovery section click -
View recovery info
4.5 Open browser console - In the View account recovery popup enter an incorrect password
Expected behavior
- 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 - If a password that the user has entered is incorrect, a toast indicating a failure should be shown.