Clear login form username and password on submission.

master
Tom Hacohen 7 years ago
parent 3c3ffb15d3
commit 37aaebbbd8

@ -116,6 +116,8 @@ export class EteSyncContextInner extends React.Component {
return;
}
this.setState({password: '', encryptionPassword: ''});
store.store.dispatch(fetchCredentials(username, password, encryptionPassword, server));
}

Loading…
Cancel
Save