alexpolo1
4af8713934
security: Remove all hardcoded credential fallbacks from source code
BREAKING CHANGE: Application now requires proper environment configuration
Changes:
- Remove hardcoded password fallbacks from 6 backend files
- auth.js: Remove 'toemrer/tilbud2024' fallbacks
- db/connection.js: Remove 'tilbudpass123' fallback
- graphqlClient.js: Remove API token fallback
- ordrestyringSyncService.js: Remove password and token fallbacks
- databaseService.js: Remove 'ServicePass2024!' fallback
- logger.js: Remove 'tilbudpass123' fallback
- Update .env.example with secure template
- Add validation to fail fast if credentials not configured
- Add security notes to .env.example
Security improvements:
✅ No hardcoded credentials in source code
✅ Application fails immediately if not configured
✅ Clear error messages for missing env vars
✅ Secure .env.example template provided
Action required:
1. Copy backend/.env.example to backend/.env
2. Configure all required credentials
3. Restart the application
All exposed credentials have been removed from source code.
Credential rotation is strongly recommended.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-20 13:18:13 +00:00
..
2025-11-07 08:44:35 +00:00
2025-11-26 12:36:27 +00:00
2025-11-14 21:49:45 +00:00
2025-09-19 15:06:03 +02:00
2025-11-24 23:08:04 +00:00
2025-11-14 21:49:45 +00:00
2025-11-07 12:01:07 +00:00
2025-11-26 13:28:40 +00:00
2025-12-20 13:18:13 +00:00
2025-09-21 00:59:31 +02:00
2025-11-26 12:36:27 +00:00
2025-09-18 22:28:35 +02:00
2025-11-14 11:28:58 +00:00
2025-09-14 17:30:10 +02:00
2025-11-14 11:28:58 +00:00
2025-11-14 11:28:58 +00:00
2025-11-14 11:28:58 +00:00
2025-09-14 17:30:10 +02:00
2025-11-14 11:28:58 +00:00
2025-11-24 23:08:04 +00:00
2025-09-24 14:37:15 +02:00
2025-09-24 14:37:15 +02:00
2025-11-24 23:08:04 +00:00
2025-11-24 23:08:04 +00:00
2025-10-31 21:19:00 +00:00
2025-11-14 11:28:58 +00:00
2025-11-26 12:36:27 +00:00
2025-11-24 23:08:04 +00:00
2025-11-14 20:27:19 +00:00
2025-11-07 08:02:07 +00:00
2025-11-26 13:49:16 +00:00