Skip to content

Commit ee3ff88

Browse files
authored
Merge pull request #1720 from Otto-AA/use-uuid-v4
Use secure uuid.v4 as session cookie secret
2 parents 28cde6b + f824eb9 commit ee3ff88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/create-app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ function initAuthentication (app, argv) {
302302
function sessionSettings (secureCookies, host) {
303303
const sessionSettings = {
304304
name: 'nssidp.sid',
305-
secret: uuid.v1(),
305+
secret: uuid.v4(),
306306
saveUninitialized: false,
307307
resave: false,
308308
rolling: true,

0 commit comments

Comments
 (0)