mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat: Hide credentials password values (#4868)
* feat: redact password field values in credentials * feat: disable expanding password fields * fix: redacting credentials without a valid type This only seems to be a thing in testing?
This commit is contained in:
@@ -113,7 +113,7 @@
|
||||
>
|
||||
<template #suffix>
|
||||
<n8n-icon
|
||||
v-if="!isReadOnly"
|
||||
v-if="!isReadOnly && !isSecretParameter"
|
||||
icon="external-link-alt"
|
||||
size="xsmall"
|
||||
class="edit-window-button textarea-modal-opener"
|
||||
@@ -770,6 +770,9 @@ export default mixins(
|
||||
isResourceLocatorParameter(): boolean {
|
||||
return this.parameter.type === 'resourceLocator';
|
||||
},
|
||||
isSecretParameter(): boolean {
|
||||
return this.getArgument('password') === true;
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
isRemoteParameterOption(option: INodePropertyOptions) {
|
||||
|
||||
Reference in New Issue
Block a user