Update node-red-dark.sh

This commit is contained in:
tteckster 2022-02-18 15:12:29 -05:00 committed by GitHub
parent 3f74ab7fb6
commit 6adb1a7615
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@ GN=`echo "\033[1;92m"`
CL=`echo "\033[m"` CL=`echo "\033[m"`
trap die ERR trap die ERR
trap 'die "Script interrupted."' INT trap 'die "Script interrupted."' INT
echo -en "${RD} Backup your Node-Red flows before running this script!!${CL} \n " echo -e "${RD} Backup your Node-Red flows before running this script!!${CL} \n "
while true; do while true; do
read -p "This will install midnight-red theme. Proceed(y/n)?" yn read -p "This will install midnight-red theme. Proceed(y/n)?" yn
case $yn in case $yn in
@ -127,7 +127,7 @@ module.exports = {
// type: "credentials", // type: "credentials",
// users: [{ // users: [{
// username: "admin", // username: "admin",
// password: "$2a$08$zZWtXTja0fB1pzD4sHCMyOCMYz2Z6dNbM6tl8sJogENOMcxWV9DN.", // password: "",
// permissions: "*" // permissions: "*"
// }] // }]
//}, //},
@ -172,8 +172,8 @@ module.exports = {
* The `pass` field is a bcrypt hash of the password. * The `pass` field is a bcrypt hash of the password.
* See http://nodered.org/docs/security.html#generating-the-password-hash * See http://nodered.org/docs/security.html#generating-the-password-hash
*/ */
//httpNodeAuth: {user:"user",pass:"$2a$08$zZWtXTja0fB1pzD4sHCMyOCMYz2Z6dNbM6tl8sJogENOMcxWV9DN."}, //httpNodeAuth: {user:"user",pass:""},
//httpStaticAuth: {user:"user",pass:"$2a$08$zZWtXTja0fB1pzD4sHCMyOCMYz2Z6dNbM6tl8sJogENOMcxWV9DN."}, //httpStaticAuth: {user:"user",pass:""},
/******************************************************************************* /*******************************************************************************
* Server Settings * Server Settings