mirror of
https://github.com/cnodejs/nodeclub.git
synced 2025-12-08 19:55:55 +00:00
文案
This commit is contained in:
parent
a97939edb8
commit
7206727fdb
@ -300,7 +300,7 @@ exports.auth_user = function (req, res, next) {
|
||||
var auth_token = decrypt(cookie, config.session_secret);
|
||||
if (!auth_token) {
|
||||
res.cookie(config.auth_cookie_name, '');
|
||||
return res.send('session 过期,请重新登录');
|
||||
return res.send('session 过期,请刷新并重新登录');
|
||||
}
|
||||
var auth = auth_token.split('\t');
|
||||
var user_id = auth[0];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user