Show passphrase input label (#6992)

This commit is contained in:
Rafael Gonçalves
2021-10-22 15:50:11 +01:00
committed by GitHub
parent 1f5d8a95e6
commit 12ad01db51
2 changed files with 4 additions and 5 deletions
@@ -70,7 +70,6 @@ limitations under the License.
width: 300px; width: 300px;
border: 1px solid $accent-color; border: 1px solid $accent-color;
border-radius: 5px; border-radius: 5px;
padding: 10px;
} }
.mx_AccessSecretStorageDialog_recoveryKeyEntry { .mx_AccessSecretStorageDialog_recoveryKeyEntry {
@@ -346,15 +346,15 @@ export default class AccessSecretStorageDialog extends React.PureComponent<IProp
) }</p> ) }</p>
<form className="mx_AccessSecretStorageDialog_primaryContainer" onSubmit={this.onPassPhraseNext}> <form className="mx_AccessSecretStorageDialog_primaryContainer" onSubmit={this.onPassPhraseNext}>
<input <Field
type="password"
id="mx_passPhraseInput" id="mx_passPhraseInput"
className="mx_AccessSecretStorageDialog_passPhraseInput" className="mx_AccessSecretStorageDialog_passPhraseInput"
onChange={this.onPassPhraseChange} type="password"
label={_t("Security Phrase")}
value={this.state.passPhrase} value={this.state.passPhrase}
onChange={this.onPassPhraseChange}
autoFocus={true} autoFocus={true}
autoComplete="new-password" autoComplete="new-password"
placeholder={_t("Security Phrase")}
/> />
{ keyStatus } { keyStatus }
<DialogButtons <DialogButtons