Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

documentation help #964

Open
tropas2001 opened this issue Dec 30, 2024 · 1 comment
Open

documentation help #964

tropas2001 opened this issue Dec 30, 2024 · 1 comment

Comments

@tropas2001
Copy link

Please could documentation be provided for how to use the Users-enforcedUser config setting? I'm trying to use it in a docker file as an env variable and it's really not clear what the format should be?

@tropas2001
Copy link
Author

tropas2001 commented Jan 6, 2025

Just to add - my best guess is
Users-enforcedUsers=["{\"role\":\"User\",\"name\":\"johndoe\",\"password\":\"pass1267675\"}"]

and it's throwing the error:
web-1 | 1/6/2025, 11:16:08 AM[INFO_][server] running diagnostics... web-1 | /app/src/common/config/private/Config.js:89 web-1 | throw new Error('Password error for enforced user: ' + uc.name); web-1 | ^ web-1 | web-1 | Error: Password error for enforced user: undefined web-1 | at Object.onLoadedSync (/app/src/common/config/private/Config.js:89:27) web-1 | at ConfigClassType.loadSync (/app/node_modules/typeconfig/src/decorators/class/ConfigClass.js:191:29) web-1 | at Object.<anonymous> (/app/src/common/config/private/Config.js:102:20) web-1 | at Module._compile (node:internal/modules/cjs/loader:1256:14) web-1 | at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) web-1 | at Module.load (node:internal/modules/cjs/loader:1119:32) web-1 | at Module._load (node:internal/modules/cjs/loader:960:12) web-1 | at Module.require (node:internal/modules/cjs/loader:1143:19) web-1 | at require (node:internal/modules/cjs/helpers:119:18) web-1 | at Object.<anonymous> (/app/src/backend/server.js:4:18)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant