...
|
...
|
@@ -29,7 +29,7 @@ function yohoSession(opts) { |
|
|
req.session = new memcachedSession.Session(req, req[opts.backSession].sessionBack);
|
|
|
req.session.cookie = new memcachedSession.Cookie({
|
|
|
domain: 'yohobuy.com',
|
|
|
httpOnly: false
|
|
|
httpOnly: true
|
|
|
});
|
|
|
}
|
|
|
|
...
|
...
|
@@ -63,8 +63,7 @@ module.exports = (app) => { |
|
|
},
|
|
|
cookie: {
|
|
|
domain: 'yohobuy.com',
|
|
|
httpOnly: true,
|
|
|
secure: true
|
|
|
httpOnly: true
|
|
|
},
|
|
|
store: new MemcachedStore({
|
|
|
hosts: config.memcache.session,
|
...
|
...
|
@@ -82,8 +81,7 @@ module.exports = (app) => { |
|
|
cookie: {
|
|
|
domain: 'yohobuy.com',
|
|
|
ephemeral: true,
|
|
|
httpOnly: true,
|
|
|
secure: true
|
|
|
httpOnly: true
|
|
|
}
|
|
|
}));
|
|
|
|
...
|
...
|
|