Show passphrase input label (#6992)

pull/21833/head
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

@ -70,7 +70,6 @@ limitations under the License.
width: 300px;
border: 1px solid $accent-color;
border-radius: 5px;
padding: 10px;
}
.mx_AccessSecretStorageDialog_recoveryKeyEntry {

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