aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/first-time
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/first-time
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/first-time')
-rw-r--r--ui/app/first-time/init-menu.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/ui/app/first-time/init-menu.js b/ui/app/first-time/init-menu.js
index c41aecc48..152d28809 100644
--- a/ui/app/first-time/init-menu.js
+++ b/ui/app/first-time/init-menu.js
@@ -21,7 +21,6 @@ function mapStateToProps (state) {
// state from plugin
currentView: state.appState.currentView,
warning: state.appState.warning,
- forgottenPassword: state.metamask.isInitialized,
}
}
@@ -118,17 +117,6 @@ InitializeMenuScreen.prototype.renderMenu = function (state) {
},
}, 'Create'),
- state.forgottenPassword ? h('.flex-row.flex-center.flex-grow', [
- h('p.pointer', {
- onClick: this.backToUnlockView.bind(this),
- style: {
- fontSize: '0.8em',
- color: 'rgb(247, 134, 28)',
- textDecoration: 'underline',
- },
- }, 'Return to Login'),
- ]) : null,
-
h('.flex-row.flex-center.flex-grow', [
h('p.pointer', {
onClick: this.showRestoreVault.bind(this),
@@ -159,10 +147,6 @@ InitializeMenuScreen.prototype.showRestoreVault = function () {
this.props.dispatch(actions.showRestoreVault())
}
-InitializeMenuScreen.prototype.backToUnlockView = function () {
- this.props.dispatch(actions.backToUnlockView())
-}
-
InitializeMenuScreen.prototype.createNewVaultAndKeychain = function () {
var passwordBox = document.getElementById('password-box')
var password = passwordBox.value