...
|
...
|
@@ -76,9 +76,11 @@ 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}::${data.uid}::${data.vip_info.title}::${token}`;
|
|
|
let uidCookie = `{data.profile_name}::${encryptionUid}::${data.vip_info.title}::${token}`;
|
|
|
let isStudent = data.vip_info.is_student || 0;
|
|
|
|
|
|
req.session._TOKEN = token;
|
...
|
...
|
|