You've already forked matrix-react-sdk
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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user