aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorCsaba Solya <csaba.solya@gmail.com>2018-03-04 05:08:10 +0800
committerCsaba Solya <csaba.solya@gmail.com>2018-03-04 05:08:10 +0800
commit2b86d65d0c3266e8ddfe814abe1d1755fbf23fda (patch)
treedee77324280c5787c8d2702d7db1d743743c55b9 /ui
parent3e05b693dbf55ea7ecb791e8f31b7599a6b89ffd (diff)
downloadtangerine-wallet-browser-2b86d65d0c3266e8ddfe814abe1d1755fbf23fda.tar
tangerine-wallet-browser-2b86d65d0c3266e8ddfe814abe1d1755fbf23fda.tar.gz
tangerine-wallet-browser-2b86d65d0c3266e8ddfe814abe1d1755fbf23fda.tar.bz2
tangerine-wallet-browser-2b86d65d0c3266e8ddfe814abe1d1755fbf23fda.tar.lz
tangerine-wallet-browser-2b86d65d0c3266e8ddfe814abe1d1755fbf23fda.tar.xz
tangerine-wallet-browser-2b86d65d0c3266e8ddfe814abe1d1755fbf23fda.tar.zst
tangerine-wallet-browser-2b86d65d0c3266e8ddfe814abe1d1755fbf23fda.zip
verify seedwords on log in
Diffstat (limited to 'ui')
-rw-r--r--ui/app/actions.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index 64d5b67e0..9606841ae 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -296,6 +296,13 @@ function tryUnlockMetamask (password) {
dispatch(actions.unlockSucceeded())
dispatch(actions.transitionForward())
forceUpdateMetamaskState(dispatch)
+
+ background.verifySeedPhrase((err) => {
+ if (err) {
+ dispatch(actions.displayWarning(err.message))
+ }
+ })
+
}
})
}