Commit Graph

4 Commits

Author SHA1 Message Date
Claude Agent
7ce430cc1d feat(security): harden for production deployment
- auth: first registered user becomes superadmin (active immediately)
- entrypoint: no longer seeds demo data in prod (opt-in via RUN_SEED=1)
- config: refuse to boot in prod with weak/placeholder SECRET_KEY (<32 chars)
- main: restrict CORS to FRONTEND_URL only in prod (localhost dev-only)
- seed_db: block prod seeding, read passwords from env, stop printing them
- login: remove demo account credentials from UI

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-25 19:44:20 +00:00
Claude Agent
3e040990f5 fix(entrypoint): fix invalid shebang (#! was escaped to #\!)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-04 10:20:10 +00:00
Claude Agent
727e7adecc fix(entrypoint): convert CRLF to LF to fix Docker execution
exec ./entrypoint.sh: no such file or directory was caused by
Windows-style line endings making the shebang unresolvable.

Also add .gitattributes to enforce LF for shell scripts.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-04 10:17:46 +00:00
Claude Agent
1fdac3fb57 deploy 2026-03-04 09:45:18 +00:00