mirror of
https://github.com/elder-plinius/LEAKHUB.git
synced 2026-03-19 01:13:37 +00:00
🔒 SECURITY: Added XSS protection, security headers, and audit documentation
This commit is contained in:
@@ -41,7 +41,7 @@ const config = {
|
||||
|
||||
// Security settings
|
||||
security: {
|
||||
jwtSecret: process.env.JWT_SECRET || 'your-secret-key-change-this',
|
||||
jwtSecret: process.env.JWT_SECRET || (process.env.NODE_ENV === 'production' ? null : 'dev-secret-key'),
|
||||
bcryptRounds: 12,
|
||||
sessionTimeout: 24 * 60 * 60 * 1000 // 24 hours
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user