Skip to content

fix: mask plugin config fields with type: 'secret' in Settings UI#537

Open
dlduke-lilly wants to merge 1 commit into
Ironclad:mainfrom
dlduke-lilly:fix/plugin-secret-config-masking
Open

fix: mask plugin config fields with type: 'secret' in Settings UI#537
dlduke-lilly wants to merge 1 commit into
Ironclad:mainfrom
dlduke-lilly:fix/plugin-secret-config-masking

Conversation

@dlduke-lilly
Copy link
Copy Markdown

Both PluginsSettingsPage and CustomPluginsSettingsPage matched
{ type: 'string' } and { type: 'secret' } together and rendered
both as plain TextField elements with no masking.

Add type={config.type === 'secret' ? 'password' : 'text'} so secret
plugin config values are masked in the Settings UI.

Both PluginsSettingsPage and CustomPluginsSettingsPage matched
  { type: 'string' } and { type: 'secret' } together and rendered
  both as plain TextField elements with no masking.

  Add type={config.type === 'secret' ? 'password' : 'text'} so secret
  plugin config values are masked in the Settings UI.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant