|
@@ -107,7 +107,6 @@ class TokenObject:
|
|
|
else:
|
|
|
self.code = 0
|
|
|
userID = res.get('userID', '')
|
|
|
- lang = res.get('lang', '')
|
|
|
user = res.get('user', '')
|
|
|
- refreshRes = self.generate(data={'userID': userID, 'lang': lang, 'user': user})
|
|
|
+ refreshRes = self.generate(data={'userID': userID, 'lang': self.lang, 'user': user})
|
|
|
return refreshRes
|