Merge pull request #726 from mirumee/disable-autocomplete-for-auth-keys-inputs
Disable autocomplete for plugin auth key field and site settings auth field
This commit is contained in:
commit
2805b752f0
2 changed files with 3 additions and 0 deletions
|
@ -63,6 +63,7 @@ const PluginSecretFieldDialog: React.FC<PluginSecretFieldDialogProps> = ({
|
||||||
<>
|
<>
|
||||||
<DialogContent>
|
<DialogContent>
|
||||||
<TextField
|
<TextField
|
||||||
|
autoComplete="off"
|
||||||
fullWidth
|
fullWidth
|
||||||
label={field && field.label}
|
label={field && field.label}
|
||||||
name="value"
|
name="value"
|
||||||
|
|
|
@ -70,6 +70,7 @@ const SiteSettingsKeyDialog: React.FC<SiteSettingsKeyDialogProps> = ({
|
||||||
/>
|
/>
|
||||||
<FormSpacer />
|
<FormSpacer />
|
||||||
<TextField
|
<TextField
|
||||||
|
autoComplete="off"
|
||||||
error={!!formErrors.key}
|
error={!!formErrors.key}
|
||||||
fullWidth
|
fullWidth
|
||||||
label={intl.formatMessage({
|
label={intl.formatMessage({
|
||||||
|
@ -83,6 +84,7 @@ const SiteSettingsKeyDialog: React.FC<SiteSettingsKeyDialogProps> = ({
|
||||||
/>
|
/>
|
||||||
<FormSpacer />
|
<FormSpacer />
|
||||||
<TextField
|
<TextField
|
||||||
|
autoComplete="off"
|
||||||
error={!!formErrors.password}
|
error={!!formErrors.password}
|
||||||
fullWidth
|
fullWidth
|
||||||
label={intl.formatMessage({
|
label={intl.formatMessage({
|
||||||
|
|
Loading…
Reference in a new issue