fix: Improve auth debugging and temp directory handling
continuous-integration/drone/push Build is passing

- Add detailed logging for password verification to diagnose auth issues
- Validate bcrypt hash format before attempting comparison
- Use /tmp/minio-webui-temp as default temp directory (Docker-prepared)
- Add comment about escaping $ in bcrypt hashes for docker-compose
This commit is contained in:
Paul Nothaft
2026-01-05 09:32:12 +01:00
parent fc9898c59b
commit 6beb4ae03c
73 changed files with 111 additions and 6012 deletions
+3
View File
@@ -20,8 +20,11 @@ services:
- NODE_ENV=production
- PORT=3000
- JWT_SECRET=${JWT_SECRET}
# IMPORTANT: bcrypt hashes contain $ characters. In your .env file,
# escape each $ as $$ (e.g., $$2b$$12$$... instead of $2b$12$...)
- ADMIN_PASSWORD_HASH=${ADMIN_PASSWORD_HASH}
- SESSION_TIMEOUT=${SESSION_TIMEOUT:-3600}
# Set to 'debug' for troubleshooting authentication issues
- LOG_LEVEL=${LOG_LEVEL:-info}
- REDIS_HOST=redis
- REDIS_PORT=6379