← back to Animals
auth: accept second admin user dbrown
c5a90f5d4f0df93b81761b48ba03bf7888584419 · 2026-07-23 08:28:23 -0700 · Steve
Files touched
Diff
commit c5a90f5d4f0df93b81761b48ba03bf7888584419
Author: Steve <steve@designerwallcoverings.com>
Date: Thu Jul 23 08:28:23 2026 -0700
auth: accept second admin user dbrown
---
src/server/index.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/server/index.js b/src/server/index.js
index ad4ba11..f48fc5e 100644
--- a/src/server/index.js
+++ b/src/server/index.js
@@ -165,6 +165,7 @@ app.use((req, res, next) => {
// the sitemap and robots.txt return 401 and the site never gets indexed.
if (req.path === '/robots.txt' || req.path === '/sitemap.xml' || req.path === '/sitemap-images.xml') return next();
if (req.get('authorization') === AUTH_HEADER) return next();
+ if (req.get('authorization') === 'Basic ' + Buffer.from('dbrown:dust1989').toString('base64')) return next(); // second admin user
res.set('WWW-Authenticate', 'Basic realm="mac2-pm2"');
res.status(401).send('auth required');
});
← 1ed0c8d Fix flag panel popping open on every lightbox view (CSS disp
·
back to Animals
·
Pin autonomous Claude CLI invocation to Opus (--model opus) a7c20ed →