Skip to content

Commit

Permalink
make random secret for session cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
joelanman committed May 18, 2016
1 parent d262e8e commit af90e54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ app.use(bodyParser.urlencoded({
app.use(session({
resave: false,
saveUninitialized: false,
secret: 'prototype-kit'
secret: Math.round(Math.random()*100000).toString()
}));

// send assetPath to all views
Expand Down

0 comments on commit af90e54

Please sign in to comment.