Skip to content

Commit

Permalink
Fix: Document importance of username/password setup
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanlelek committed Aug 4, 2022
1 parent 28b6e8a commit 900c58b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,20 @@ Supported Node Versions:
- v10.x.x (LTS)
Please use the latest version available of the above major Node.js releases to ensure you have the latest security fixes!

Security
--------
Make sure you edit the default username and password in your `config.js` file.
```
##### WARNING #####
// You MUST change the username and password for security
// Do NOT use "admin" as a username as it's easily guessed.
// You are encouraged to use tools to generate a password
// Preferably, use a local password manager
// If you absolutely must use an online tool, here are some suggestions
// https://bitwarden.com/password-generator/
// https://www.grc.com/passwords.htm
```

Links
---------------

Expand Down
8 changes: 8 additions & 0 deletions example/config.default.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,14 @@ var config = {
},
secret: 'someCoolSecretRightHere',

// ##### WARNING #####
// You MUST change the username and password for security
// Do NOT use "admin" as a username as it's easily guessed.
// You are encouraged to use tools to generate a password
// Preferably, use a local password manager
// If you absolutely must use an online tool, here are some suggestions
// https://bitwarden.com/password-generator/
// https://www.grc.com/passwords.htm
credentials : [
{
username : 'admin',
Expand Down

0 comments on commit 900c58b

Please sign in to comment.