diff options
author | Dan Finlay <somniac@me.com> | 2016-12-20 08:01:01 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-20 08:01:01 +0800 |
commit | ead8329877c5441f32ab389adb41689086a38608 (patch) | |
tree | 6ddf346b7627ea0556db2e94a8164dfa5a34e6ae /ui/app/first-time | |
parent | f7eec0b282de511d54fd50f2c75d7371ca6f399d (diff) | |
parent | 9c8345467c871b29193263a13e8e8d3ebb47c7fb (diff) | |
download | tangerine-wallet-browser-ead8329877c5441f32ab389adb41689086a38608.tar.gz tangerine-wallet-browser-ead8329877c5441f32ab389adb41689086a38608.tar.zst tangerine-wallet-browser-ead8329877c5441f32ab389adb41689086a38608.zip |
Merge pull request #937 from MetaMask/i900-forgot-password-flow
I900 forgot password flow
Diffstat (limited to 'ui/app/first-time')
-rw-r--r-- | ui/app/first-time/init-menu.js | 16 |
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 |