Authored by 周少峰

Merge branch 'release/4.9.1.0'

... ... @@ -76,10 +76,9 @@ const Auth = {
return Auth.profile(uid).then((userInfo) => {
let token = sign.makeToken(uid);
let data = userInfo.data;
let encryptionUid = aes.encryptionUid(data.uid);
if (data) {
let uidCookie = `{data.profile_name}::${encryptionUid}::${data.vip_info.title}::${token}`;
let uidCookie = `{data.profile_name}::${data.uid}::${data.vip_info.title}::${token}`;
let isStudent = data.vip_info.is_student || 0;
req.session._TOKEN = token;
... ...