bb1b84b56d
models/user_redis.js hardcoded the bootstrap anti-lockout admin username to 'proxyadmin2', while migrations/permission_bootstrap.js grants the global-admin permission to conf.auth.adminUsers[0]. An operator who customized adminUsers away from the default ended up with a bootstrapped account that had no admin permissions -- a silent lockout. user_redis.js now derives the bootstrap username the same way permission_bootstrap.js does. Also corrected a secrets.js.example comment that claimed the bootstrap password defaults to the username itself (it actually generates and logs a random password), and refreshed all README screenshots against the current UI, including a new load-balancing screenshot. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
57 lines
2.6 KiB
JSON
57 lines
2.6 KiB
JSON
{
|
|
"name": "proxy-api",
|
|
"version": "1.1.18",
|
|
"author": [
|
|
{
|
|
"name": "William Mantly",
|
|
"email": "wmantly@gmail.com"
|
|
}
|
|
],
|
|
"scripts": {
|
|
"start": "node ./bin/www",
|
|
"dev": "npx nodemon --ignore public/ ./bin/www",
|
|
"test": "node --test test/unit/callback_queue.test.js test/unit/host_lookup.test.js test/unit/wildcard_matchany.test.js test/unit/roles.test.js test/unit/oidc.test.js test/unit/safe_redirect.test.js test/unit/host_features.test.js test/unit/dynamic_record.test.js test/unit/hostname_validate.test.js test/unit/password_policy.test.js test/unit/basicauth.test.js test/unit/host_sso.test.js test/unit/unix_socket.test.js test/integration/dns_provider.test.js",
|
|
"test:unit": "node --test test/unit/callback_queue.test.js test/unit/host_lookup.test.js test/unit/wildcard_matchany.test.js test/unit/roles.test.js test/unit/oidc.test.js test/unit/safe_redirect.test.js test/unit/host_features.test.js test/unit/dynamic_record.test.js test/unit/hostname_validate.test.js test/unit/password_policy.test.js test/unit/basicauth.test.js test/unit/host_sso.test.js test/unit/unix_socket.test.js",
|
|
"test:integration": "node --test test/integration/dns_provider.test.js",
|
|
"test:watch": "node --test --watch test/unit/callback_queue.test.js test/unit/host_lookup.test.js test/unit/wildcard_matchany.test.js test/unit/roles.test.js test/unit/oidc.test.js test/unit/safe_redirect.test.js test/unit/host_features.test.js test/unit/dynamic_record.test.js test/unit/hostname_validate.test.js test/unit/password_policy.test.js test/unit/basicauth.test.js test/unit/host_sso.test.js test/unit/unix_socket.test.js test/integration/dns_provider.test.js"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@fortawesome/fontawesome-free": "^7.3.0",
|
|
"@popperjs/core": "^2.11.8",
|
|
"@simpleworkjs/conf": "^1.2.0",
|
|
"acme-client": "^5.4.0",
|
|
"axios": "^1.13.5",
|
|
"bcrypt": "^6.0.0",
|
|
"bootstrap": "^5.3.8",
|
|
"compression": "^1.8.1",
|
|
"ejs": "^6.0.1",
|
|
"express": "^5.2.1",
|
|
"express-rate-limit": "^8.5.2",
|
|
"extend": "^3.0.2",
|
|
"jq-repeat": "^2.2.0",
|
|
"jquery": "^4.0.0",
|
|
"ldapts": "^8.1.8",
|
|
"linux-sys-user": "^1.2.0",
|
|
"marked": "^9.1.6",
|
|
"model-redis": "^1.5.0",
|
|
"moment": "^2.30.1",
|
|
"mustache": "^4.2.0",
|
|
"p2psub": "^0.2.0",
|
|
"redis": "^6.1.0",
|
|
"socket.io": "^4.8.3",
|
|
"tld-extract": "^2.1.0",
|
|
"xss": "^1.0.15"
|
|
},
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/theta42/proxy.git"
|
|
},
|
|
"devDependencies": {
|
|
"nodemon": "^3.1.11"
|
|
}
|
|
}
|