Create set backup niggles: 1

* Clear the password score when hitting 'back'
 * autoFocus password input
This commit is contained in:
David Baker 2019-01-10 13:49:40 +00:00
parent 1c42f4f5a0
commit 3752a21fb1

View file

@ -177,6 +177,7 @@ export default React.createClass({
passPhrase: '',
passPhraseConfirm: '',
phase: PHASE_PASSPHRASE,
zxcvbnResult: null,
});
},
@ -246,6 +247,7 @@ export default React.createClass({
value={this.state.passPhrase}
className="mx_CreateKeyBackupDialog_passPhraseInput"
placeholder={_t("Enter a passphrase...")}
autoFocus={true}
/>
<div className="mx_CreateKeyBackupDialog_passPhraseHelp">
{strengthMeter}