Skip to content

Mask recovery key and passphrase input #30393

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,10 @@
autoComplete="off"
>
<div className="mx_AccessSecretStorageDialog_recoveryKeyEntry">
<Field

Check failure on line 184 in src/components/views/dialogs/security/AccessSecretStorageDialog.tsx

View workflow job for this annotation

GitHub Actions / Typescript Syntax Check

Type '{ inputRef: RefObject<HTMLTextAreaElement | null>; element: "input"; type: "password"; id: string; label: string; value: string; onChange: (ev: ChangeEvent<HTMLTextAreaElement>) => void; autoFocus: true; forceValidity: boolean | undefined; autoComplete: "off"; }' is not assignable to type 'IntrinsicAttributes & (IntrinsicClassAttributes<Field> & ((Pick<Readonly<IInputProps>, "name" | ... 315 more ... | "tooltipClassName"> & InexactPartial<...> & InexactPartial<...>) | (Pick<...> & ... 1 more ... & InexactPartial<...>) | (Pick<...> & ... 1 more ... & InexactPartial<...>) | (Pick<...> & ... 1 more ... &...'.
inputRef={this.inputRef}
element="textarea"
rows={2}
cols={45}
element="input"
type="password"
id="mx_securityKey"
label={_t("encryption|access_secret_storage_dialog|security_key_title")}
value={this.state.recoveryKey}
Expand Down
Loading