You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-24 06:02:08 +03:00
Create set backup niggles: 1
* Clear the password score when hitting 'back' * autoFocus password input
This commit is contained in:
@ -177,6 +177,7 @@ export default React.createClass({
|
|||||||
passPhrase: '',
|
passPhrase: '',
|
||||||
passPhraseConfirm: '',
|
passPhraseConfirm: '',
|
||||||
phase: PHASE_PASSPHRASE,
|
phase: PHASE_PASSPHRASE,
|
||||||
|
zxcvbnResult: null,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -246,6 +247,7 @@ export default React.createClass({
|
|||||||
value={this.state.passPhrase}
|
value={this.state.passPhrase}
|
||||||
className="mx_CreateKeyBackupDialog_passPhraseInput"
|
className="mx_CreateKeyBackupDialog_passPhraseInput"
|
||||||
placeholder={_t("Enter a passphrase...")}
|
placeholder={_t("Enter a passphrase...")}
|
||||||
|
autoFocus={true}
|
||||||
/>
|
/>
|
||||||
<div className="mx_CreateKeyBackupDialog_passPhraseHelp">
|
<div className="mx_CreateKeyBackupDialog_passPhraseHelp">
|
||||||
{strengthMeter}
|
{strengthMeter}
|
||||||
|
Reference in New Issue
Block a user