aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/reducers
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2016-12-20 06:54:24 +0800
committerKevin Serrano <kevgagser@gmail.com>2016-12-20 06:54:24 +0800
commit20c043a4c280891b3b1322a06887e6515a8d94fa (patch)
tree1a0d8a2dfb78c07628760ef7522b24c694d346af /ui/app/reducers
parent1b6ee56cac34cd3544fd375cad342eb8240ae8aa (diff)
downloadtangerine-wallet-browser-20c043a4c280891b3b1322a06887e6515a8d94fa.tar
tangerine-wallet-browser-20c043a4c280891b3b1322a06887e6515a8d94fa.tar.gz
tangerine-wallet-browser-20c043a4c280891b3b1322a06887e6515a8d94fa.tar.bz2
tangerine-wallet-browser-20c043a4c280891b3b1322a06887e6515a8d94fa.tar.lz
tangerine-wallet-browser-20c043a4c280891b3b1322a06887e6515a8d94fa.tar.xz
tangerine-wallet-browser-20c043a4c280891b3b1322a06887e6515a8d94fa.tar.zst
tangerine-wallet-browser-20c043a4c280891b3b1322a06887e6515a8d94fa.zip
Redirect to seed word screen for forgotten passwords.
Diffstat (limited to 'ui/app/reducers')
-rw-r--r--ui/app/reducers/app.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/app/reducers/app.js b/ui/app/reducers/app.js
index 67a926948..c69f0bae0 100644
--- a/ui/app/reducers/app.js
+++ b/ui/app/reducers/app.js
@@ -72,6 +72,7 @@ function reduceApp (state, action) {
name: 'restoreVault',
},
transForward: true,
+ forgottenPassword: true,
})
case actions.SHOW_INIT_MENU:
@@ -169,7 +170,7 @@ function reduceApp (state, action) {
return extend(appState, {
warning: null,
transForward: true,
- forgottenPassword: !appState.forgottenPassword,
+ forgottenPassword: false,
currentView: {
name: 'UnlockScreen',
},