[object Object]

← back to Goldleafwallpaper

secret-strip goldleafwallpaper: env-first the hardcoded George basic-auth cred

f68dbe40874ab658feb040e4a870efcd0b7b0c56 · 2026-06-12 13:01:26 -0700 · Steve Abrams

Files touched

Diff

commit f68dbe40874ab658feb040e4a870efcd0b7b0c56
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Fri Jun 12 13:01:26 2026 -0700

    secret-strip goldleafwallpaper: env-first the hardcoded George basic-auth cred
---
 server.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server.js b/server.js
index 9755d62..86a9255 100644
--- a/server.js
+++ b/server.js
@@ -11,7 +11,7 @@ app.use(express.json());
 // George Gmail Agent forward — same field contract as Novasuede
 const GEORGE_PORT = parseInt(process.env.GEORGE_PORT || '9850', 10);
 const GEORGE_AUTH = process.env.GEORGE_AUTH ||
-  ('Basic ' + Buffer.from('admin:I3YusisdESUNdxtrmlb3QJeu9q8ODKJO').toString('base64'));
+  ('Basic ' + Buffer.from('admin:' + (process.env.GEORGE_BASIC_AUTH_PASS || '')).toString('base64'));
 const SAMPLE_RECIPIENT = process.env.SAMPLE_RECIPIENT || 'info@goldleafwallpaper.com';
 const INQUIRY_RECIPIENT = process.env.INQUIRY_RECIPIENT || 'info@goldleafwallpaper.com';
 

← c57feda code-health: 404-guard server.js/package*.json + .orig/.save  ·  back to Goldleafwallpaper  ·  corner-nav: move login to its own hamburger in upper-left (p c4ec724 →