Skip to content

Commit

Permalink
Fix seed phrase import back button (#6758)
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 #6740
  • Loading branch information
Gudahtt authored Jun 27, 2019
1 parent 6d191f2 commit a6bfc6f
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 a6bfc6f

Please sign in to comment.