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 }),
|
||||
secret,
|
||||
resave: false,
|
||||
saveUninitialized: true
|
||||
saveUninitialized: false
|
||||
}));
|
||||
|
||||
this.passport = Passport;
|
||||
|
Loading…
Reference in New Issue
Block a user