Authored by htoooth

fix login

... ... @@ -25,7 +25,7 @@ const index = (req, res, next) => {
});
// 清除 session
req.session = null;
req.session = {};
service.indexPageDataAsync()
.then(result => {
... ...
... ... @@ -117,7 +117,7 @@ const local = {
domain: config.cookieDomain
});
req.session = null;
req.session = {};
let bindMobile = _.trim(req.query.bindMobile || '');
let bindArea = '+' + _.trim(req.query.bindArea || '86');
... ...
... ... @@ -57,7 +57,7 @@
"request-ip": "^1.2.2",
"serve-favicon": "^2.3.0",
"uuid": "^2.0.2",
"yoho-node-lib": "0.2.1",
"yoho-node-lib": "0.2.2",
"yoho-zookeeper": "^1.0.4"
},
"devDependencies": {
... ...