Commit 21aa94be by 王昆

gsb

parent 7a327963
...@@ -29,7 +29,6 @@ module.exports = function (app) { ...@@ -29,7 +29,6 @@ module.exports = function (app) {
res.end(JSON.stringify({ status: -99, msg: "no login" })); res.end(JSON.stringify({ status: -99, msg: "no login" }));
return; return;
} }
req.session.user = jsonUser;
req.loginUser = jsonUser; req.loginUser = jsonUser;
next(); next();
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment