You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Merge pull request #5258 from matrix-org/t3chguy/fix/15305
Disable autocompletion on security key input during login
This commit is contained in:
@@ -289,7 +289,12 @@ export default class AccessSecretStorageDialog extends React.PureComponent {
|
|||||||
content = <div>
|
content = <div>
|
||||||
<p>{_t("Use your Security Key to continue.")}</p>
|
<p>{_t("Use your Security Key to continue.")}</p>
|
||||||
|
|
||||||
<form className="mx_AccessSecretStorageDialog_primaryContainer" onSubmit={this._onRecoveryKeyNext} spellCheck={false}>
|
<form
|
||||||
|
className="mx_AccessSecretStorageDialog_primaryContainer"
|
||||||
|
onSubmit={this._onRecoveryKeyNext}
|
||||||
|
spellCheck={false}
|
||||||
|
autoComplete="off"
|
||||||
|
>
|
||||||
<div className="mx_AccessSecretStorageDialog_recoveryKeyEntry">
|
<div className="mx_AccessSecretStorageDialog_recoveryKeyEntry">
|
||||||
<div className="mx_AccessSecretStorageDialog_recoveryKeyEntry_textInput">
|
<div className="mx_AccessSecretStorageDialog_recoveryKeyEntry_textInput">
|
||||||
<Field
|
<Field
|
||||||
@@ -298,6 +303,7 @@ export default class AccessSecretStorageDialog extends React.PureComponent {
|
|||||||
value={this.state.recoveryKey}
|
value={this.state.recoveryKey}
|
||||||
onChange={this._onRecoveryKeyChange}
|
onChange={this._onRecoveryKeyChange}
|
||||||
forceValidity={this.state.recoveryKeyCorrect}
|
forceValidity={this.state.recoveryKeyCorrect}
|
||||||
|
autoComplete="off"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<span className="mx_AccessSecretStorageDialog_recoveryKeyEntry_entryControlSeparatorText">
|
<span className="mx_AccessSecretStorageDialog_recoveryKeyEntry_entryControlSeparatorText">
|
||||||
|
|||||||
Reference in New Issue
Block a user