Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 12ad01d

Browse files
Show passphrase input label (#6992)
1 parent 1f5d8a9 commit 12ad01d

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

res/css/views/dialogs/security/_AccessSecretStorageDialog.scss

-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ limitations under the License.
7070
width: 300px;
7171
border: 1px solid $accent-color;
7272
border-radius: 5px;
73-
padding: 10px;
7473
}
7574

7675
.mx_AccessSecretStorageDialog_recoveryKeyEntry {

src/components/views/dialogs/security/AccessSecretStorageDialog.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -346,15 +346,15 @@ export default class AccessSecretStorageDialog extends React.PureComponent<IProp
346346
) }</p>
347347

348348
<form className="mx_AccessSecretStorageDialog_primaryContainer" onSubmit={this.onPassPhraseNext}>
349-
<input
350-
type="password"
349+
<Field
351350
id="mx_passPhraseInput"
352351
className="mx_AccessSecretStorageDialog_passPhraseInput"
353-
onChange={this.onPassPhraseChange}
352+
type="password"
353+
label={_t("Security Phrase")}
354354
value={this.state.passPhrase}
355+
onChange={this.onPassPhraseChange}
355356
autoFocus={true}
356357
autoComplete="new-password"
357-
placeholder={_t("Security Phrase")}
358358
/>
359359
{ keyStatus }
360360
<DialogButtons

0 commit comments

Comments
 (0)