diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2016-11-24 05:49:54 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2016-11-24 05:49:54 +0800 |
commit | 5a02e58f6287422a569f316fd4b2dd0144f50e99 (patch) | |
tree | c0a0cea046a591629314a1375f03045e02317a83 | |
parent | 5251fb373f00d96b1a90bc9038a15e4d9ad98b85 (diff) | |
download | tangerine-wallet-browser-5a02e58f6287422a569f316fd4b2dd0144f50e99.tar tangerine-wallet-browser-5a02e58f6287422a569f316fd4b2dd0144f50e99.tar.gz tangerine-wallet-browser-5a02e58f6287422a569f316fd4b2dd0144f50e99.tar.bz2 tangerine-wallet-browser-5a02e58f6287422a569f316fd4b2dd0144f50e99.tar.lz tangerine-wallet-browser-5a02e58f6287422a569f316fd4b2dd0144f50e99.tar.xz tangerine-wallet-browser-5a02e58f6287422a569f316fd4b2dd0144f50e99.tar.zst tangerine-wallet-browser-5a02e58f6287422a569f316fd4b2dd0144f50e99.zip |
Fix proper behavior for restoring accounts when password forgotten.
-rw-r--r-- | ui/app/actions.js | 1 | ||||
-rw-r--r-- | ui/app/reducers/app.js | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js index e78cf8a51..8f37b2e4c 100644 --- a/ui/app/actions.js +++ b/ui/app/actions.js @@ -197,6 +197,7 @@ function createNewVaultAndRestore (password, seed) { background.createNewVaultAndRestore(password, seed, (err) => { dispatch(actions.hideLoadingIndication()) if (err) return dispatch(actions.displayWarning(err.message)) + dispatch(actions.showAccountsPage()) }) } } diff --git a/ui/app/reducers/app.js b/ui/app/reducers/app.js index 27d84d8a6..1f40e90b3 100644 --- a/ui/app/reducers/app.js +++ b/ui/app/reducers/app.js @@ -233,6 +233,7 @@ function reduceApp (state, action) { isLoading: false, warning: null, scrollToBottom: false, + forgottenPassword: false, }) case actions.REVEAL_ACCOUNT: |