1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-11 20:22:36 +03:00

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
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