Show passphrase input label (#6992)

This commit is contained in:
Rafael Gonçalves 2021-10-22 11:50:11 -03:00 committed by GitHub
parent 1f5d8a95e6
commit 12ad01db51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 5 deletions

View file

@ -346,15 +346,15 @@ export default class AccessSecretStorageDialog extends React.PureComponent<IProp
) }</p>
<form className="mx_AccessSecretStorageDialog_primaryContainer" onSubmit={this.onPassPhraseNext}>
<input
type="password"
<Field
id="mx_passPhraseInput"
className="mx_AccessSecretStorageDialog_passPhraseInput"
onChange={this.onPassPhraseChange}
type="password"
label={_t("Security Phrase")}
value={this.state.passPhrase}
onChange={this.onPassPhraseChange}
autoFocus={true}
autoComplete="new-password"
placeholder={_t("Security Phrase")}
/>
{ keyStatus }
<DialogButtons