Editor & Admin API security not working

Hi all,
Im running node-red on a vm with oracle cloud and I am trying to get the username and password functionality.
I followed this guide and upon restart, its not prompting me to enter username and password, it just goes to the editor right away.
This is the settings.js file
image
Am I skipping a step?

Ok I fixed it myself.

For some reason, I somehow edited the wrong file?
Use cd .node-red/ to find the settings.js file instead of going through the directories which may lead you to the wrong settings.js

Not forgetting that the Node-RED log shows you where the correct settings file resides:

22 Jan 20:42:10 - [info] Settings file  : C:\src\nr\data\settings.js
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.