Skip to content

Commit

Permalink
chore: add default password comment
Browse files Browse the repository at this point in the history
  • Loading branch information
becem-gharbi committed May 22, 2023
1 parent c6ad362 commit e6b167f
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,19 @@ const settings: LocalSettings = {
storage: storage,
appName: process.env.APP_NAME || "default",
},
// adminAuth: {
// type: "credentials",
// users: [
// {
// username: "admin",
// password:
// "$2b$08$1DooD4I2bJVYmxEVF69L2e55N8KkO/dn3QMFwvCtt.tgrD9X7cB/m",
// permissions: "*",
// },
// ],
// },
adminAuth: {
type: "credentials",
users: [
{
username: "admin",
// Password = 1234
// Use `node-red admin hash-pw` to change
password:
"$2b$08$1DooD4I2bJVYmxEVF69L2e55N8KkO/dn3QMFwvCtt.tgrD9X7cB/m",
permissions: "*",
},
],
},
};

const app = express();
Expand Down

0 comments on commit e6b167f

Please sign in to comment.