← back to Rentv
auth: add Scott viewer login
89aa3b5b1301e446bb040daad93f28d329f7be1b · 2026-07-23 14:55:34 -0700 · Steve Abrams
Files touched
Diff
commit 89aa3b5b1301e446bb040daad93f28d329f7be1b
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Thu Jul 23 14:55:34 2026 -0700
auth: add Scott viewer login
---
server.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server.js b/server.js
index 2121c557..816fa9e6 100644
--- a/server.js
+++ b/server.js
@@ -14,7 +14,7 @@ const PUB = path.join(__dirname, 'public');
const readJSON = (f, fb) => { try { return JSON.parse(fs.readFileSync(path.join(DATA, f), 'utf8')); } catch { return fb; } };
// ── Basic Auth gate (unified + client logins). Health stays open for smoke-tests. ──
-const CREDS = ['admin:DW2024!', 'Boomer:rentfree911', 'Daniel:Dandeana1992']
+const CREDS = ['admin:DW2024!', 'Boomer:rentfree911', 'Daniel:Dandeana1992', 'Scott:Russia1980']
.concat((process.env.BASIC_AUTH_EXTRA || '').split(',').map(s => s.trim()).filter(Boolean));
const ACCEPTED = new Set(CREDS.map(c => 'Basic ' + Buffer.from(c).toString('base64')));
app.get('/api/health', (_q, r) => r.json({ ok: true, at: new Date().toISOString() }));
← 9e4b651a auth: set Boomer password to rentfree911
·
back to Rentv
·
gitignore the access-users ledger bd476656 →