aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/actions.js
diff options
context:
space:
mode:
authorDan J Miller <danjm.com@gmail.com>2018-03-03 10:14:05 +0800
committerGitHub <noreply@github.com>2018-03-03 10:14:05 +0800
commit0d97ff221017b78ccfa02defdb7a52ad701981a5 (patch)
tree76963deed2ee585c79a3dac92b50cd374c012e60 /ui/app/actions.js
parent0c163dcb32ddafde8a8ed3e9e21be552a5eeeed5 (diff)
downloadtangerine-wallet-browser-0d97ff221017b78ccfa02defdb7a52ad701981a5.tar
tangerine-wallet-browser-0d97ff221017b78ccfa02defdb7a52ad701981a5.tar.gz
tangerine-wallet-browser-0d97ff221017b78ccfa02defdb7a52ad701981a5.tar.bz2
tangerine-wallet-browser-0d97ff221017b78ccfa02defdb7a52ad701981a5.tar.lz
tangerine-wallet-browser-0d97ff221017b78ccfa02defdb7a52ad701981a5.tar.xz
tangerine-wallet-browser-0d97ff221017b78ccfa02defdb7a52ad701981a5.tar.zst
tangerine-wallet-browser-0d97ff221017b78ccfa02defdb7a52ad701981a5.zip
Fix NewUI reveal seed flow. (#3410)
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r--ui/app/actions.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index 64d5b67e0..4f902a6a2 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -853,15 +853,16 @@ function markPasswordForgotten () {
function unMarkPasswordForgotten () {
return (dispatch) => {
return background.unMarkPasswordForgotten(() => {
- dispatch(actions.forgotPassword())
+ dispatch(actions.forgotPassword(false))
forceUpdateMetamaskState(dispatch)
})
}
}
-function forgotPassword () {
+function forgotPassword (forgotPasswordState = true) {
return {
type: actions.FORGOT_PASSWORD,
+ value: forgotPasswordState,
}
}