don't save unitialised sessions
This commit is contained in:
parent
e358f7fc97
commit
2a9748f79c
@ -46,7 +46,7 @@ class Authenticator {
|
|||||||
store: MongoStore.create({ client: mongo.client, dbName: mongo.database, touchAfter: 600 }),
|
store: MongoStore.create({ client: mongo.client, dbName: mongo.database, touchAfter: 600 }),
|
||||||
secret,
|
secret,
|
||||||
resave: false,
|
resave: false,
|
||||||
saveUninitialized: true
|
saveUninitialized: false
|
||||||
}));
|
}));
|
||||||
|
|
||||||
this.passport = Passport;
|
this.passport = Passport;
|
||||||
|
Loading…
Reference in New Issue
Block a user