SECURITY: Remove credential exposure from logs
- Replace full config logging with sanitized version - Credentials now show as [REDACTED] in console logs - Fixed in: enhanced-screenshot service, API routes, test files - Prevents TradingView email/password from appearing in container logs
This commit is contained in:
@@ -71,7 +71,13 @@ export async function POST(request) {
|
||||
}
|
||||
}
|
||||
|
||||
console.log('🔧 Using config:', config)
|
||||
console.log('🔧 Using config:', {
|
||||
symbol: config.symbol,
|
||||
timeframe: config.timeframe,
|
||||
layouts: config.layouts,
|
||||
sessionId: config.sessionId,
|
||||
credentials: '[REDACTED]'
|
||||
})
|
||||
|
||||
let screenshots = []
|
||||
let analysis = null
|
||||
|
||||
Reference in New Issue
Block a user