Skip to content

Commit

Permalink
Fix seed phrase import back button
Browse files Browse the repository at this point in the history
The back button on the import seed phrase page leaves the Redux store
with `appState.forgottenPassword` set to true, which prevents the user
from logging in. That flag is now unset when the user leaves the page.

Fixes MetaMask#6740
  • Loading branch information
Gudahtt committed Jun 26, 2019
1 parent 3f8c912 commit 794f834
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/app/pages/keychains/restore-vault.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ class RestoreVaultPage extends Component {
className="import-account__back-button"
onClick={e => {
e.preventDefault()
this.props.leaveImportSeedScreenState()
this.props.history.goBack()
}}
href="#"
Expand Down

0 comments on commit 794f834

Please sign in to comment.