From b74f880b6700d0348b31b782e430e2adecf3845d Mon Sep 17 00:00:00 2001 From: Vit Stanislav Date: Thu, 27 Jul 2017 12:18:52 +0200 Subject: [PATCH] Fix passphrase field - Closes #524 --- src/components/login/loginFormComponent.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/login/loginFormComponent.js b/src/components/login/loginFormComponent.js index 7887e9e9b..85c9bfe51 100644 --- a/src/components/login/loginFormComponent.js +++ b/src/components/login/loginFormComponent.js @@ -91,7 +91,7 @@ class LoginFormComponent extends React.Component { setTimeout(() => { // get account info const { onAccountUpdated } = this.props; - onAccountUpdated({ passphrase: (passphrase || this.state.passphrase) }); + onAccountUpdated({ passphrase }); const accountInfo = this.props.account; // redirect to main/transactions @@ -154,7 +154,8 @@ class LoginFormComponent extends React.Component { onPassGenerated: this.onLoginSubmission.bind(this), }, })} /> -