mirror of
https://github.com/UiO-Gaming/infoscreen3.git
synced 2026-11-05 13:56:52 +01:00
Made admin user and pass setting possible via environment variable. Confirmed working with docker as well.
This commit is contained in:
1 parent
72fc49f5b5
commit
ec037b5adb
2 files changed
+3
-2
No files matched your search
@@ -1,4 +1,5 @@
|
||||
node_modules
|
||||
npm-debug.log
|
||||
.idea
|
||||
.github
|
||||
.git
|
||||
+2
-2
@@ -18,8 +18,8 @@ module.exports = {
|
||||
{
|
||||
"id": 1,
|
||||
"displayName": "Administrator",
|
||||
"username": "admin",
|
||||
"password": "admin",
|
||||
"username": process.env.ADMIN_USER || "admin",
|
||||
"password": process.env.ADMIN_PASS || "admin",
|
||||
"permissions": {
|
||||
"isAdmin": true,
|
||||
"dashboard": {
|
||||
|
||||
Reference in new issue
Block a user