Password is shown in context of node in plain text

I have a custom node which accepts username and password, if the user submits the details and click on node to view node info/content information then password field is displayed in clear text.
please refer to the image

Any way to hide it ?

@knolleary

@craigcurtin

Probably should not annoy Nick on there sorts of things - we want to keep him busy on NR development !!

Did you write the custom node or is it someone elses you are using ? They would need to adapt the node to support some form of hashing/salting etc of the password and then store that on disk - its not something NR can do for a custom node

Craig

Sorry and thanks Craig for the information

@kiran007 as @craigcurtin says, please dont tag individuals into questions.

The node needs to identify the property as a credential. Node-RED will then store it in the credentials file and not expose it in the editor.

https://nodered.org/docs/creating-nodes/credentials