Merge branch 'release/4.9.1.0'
Showing
1 changed file
with
1 additions
and
2 deletions
@@ -76,10 +76,9 @@ const Auth = { | @@ -76,10 +76,9 @@ const Auth = { | ||
76 | return Auth.profile(uid).then((userInfo) => { | 76 | return Auth.profile(uid).then((userInfo) => { |
77 | let token = sign.makeToken(uid); | 77 | let token = sign.makeToken(uid); |
78 | let data = userInfo.data; | 78 | let data = userInfo.data; |
79 | - let encryptionUid = aes.encryptionUid(data.uid); | ||
80 | 79 | ||
81 | if (data) { | 80 | if (data) { |
82 | - let uidCookie = `{data.profile_name}::${encryptionUid}::${data.vip_info.title}::${token}`; | 81 | + let uidCookie = `{data.profile_name}::${data.uid}::${data.vip_info.title}::${token}`; |
83 | let isStudent = data.vip_info.is_student || 0; | 82 | let isStudent = data.vip_info.is_student || 0; |
84 | 83 | ||
85 | req.session._TOKEN = token; | 84 | req.session._TOKEN = token; |
-
Please register or login to post a comment