mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Update example httpNodeAuth setting to be bcrypt
This commit is contained in:
parent
38c6cf0450
commit
1054193298
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user