You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PrivateRoute calls isUnlocked as if it were a synchronous method. This is returning a promise of a boolean which is always truthy. That's allowing the the user to get to the route regardless of whether the wallet is unlocked or not
Expected experience
I should not be able to get to routes that expected an unlocked wallet
Steps To Reproduce
Unlock a wallet
Go to the dashboard
I should be redirected to unlock but instead I get to see the dashboard
Environment
- OS: Mac
- Node: 20
- npm:
The text was updated successfully, but these errors were encountered:
Describe the Bug
PrivateRoute calls isUnlocked as if it were a synchronous method. This is returning a promise of a boolean which is always truthy. That's allowing the the user to get to the route regardless of whether the wallet is unlocked or not
Expected experience
I should not be able to get to routes that expected an unlocked wallet
Steps To Reproduce
I should be redirected to unlock but instead I get to see the dashboard
Environment
The text was updated successfully, but these errors were encountered: