mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-02-21 13:57:15 +01:00
Fixing Session Hash Secret
This commit is contained in:
@@ -85,7 +85,7 @@ module.exports = function(db) {
|
||||
|
||||
// express/mongo session storage
|
||||
app.use(express.session({
|
||||
secret: 'MEAN',
|
||||
secret: config.sessionSecret,
|
||||
store: new mongoStore({
|
||||
db: db.connection.db,
|
||||
collection: config.sessionCollection
|
||||
|
||||
Reference in New Issue
Block a user