Update example httpNodeAuth setting to be bcrypt

This commit is contained in:
Nick O'Leary 2015-12-13 21:27:57 +00:00
parent 38c6cf0450
commit 1054193298

View File

@ -93,9 +93,10 @@ module.exports = {
// To password protect the node-defined HTTP endpoints (httpNodeRoot), or // To password protect the node-defined HTTP endpoints (httpNodeRoot), or
// the static content (httpStatic), the following properties can be used. // the static content (httpStatic), the following properties can be used.
// The password must be an md5 hash eg.. 5f4dcc3b5aa765d61d8327deb882cf99 ('password') // The pass field is a bcrypt hash of the password.
//httpNodeAuth: {user:"user",pass:"5f4dcc3b5aa765d61d8327deb882cf99"}, // See http://nodered.org/docs/security.html#generating-the-password-hash
//httpStaticAuth: {user:"user",pass:"5f4dcc3b5aa765d61d8327deb882cf99"}, //httpNodeAuth: {user:"user",pass:"$2a$08$zZWtXTja0fB1pzD4sHCMyOCMYz2Z6dNbM6tl8sJogENOMcxWV9DN."},
//httpStaticAuth: {user:"user",pass:"$2a$08$zZWtXTja0fB1pzD4sHCMyOCMYz2Z6dNbM6tl8sJogENOMcxWV9DN."},
// The following property can be used to enable HTTPS // The following property can be used to enable HTTPS
// See http://nodejs.org/api/https.html#https_https_createserver_options_requestlistener // See http://nodejs.org/api/https.html#https_https_createserver_options_requestlistener