delete unused id

This commit is contained in:
Particle_G
2020-11-27 21:17:37 +08:00
committed by MrZ626
parent 5a8bb432fe
commit 57f6249711
2 changed files with 0 additions and 2 deletions

View File

@@ -300,7 +300,6 @@ for i=1,25 do
end end
ACCOUNT={ ACCOUNT={
id=nil,
username=nil, username=nil,
motto=nil, motto=nil,
avatar=nil, avatar=nil,

View File

@@ -156,7 +156,6 @@ function Tick.httpREQ_login(data)
local success,content=json.decode(response.body) local success,content=json.decode(response.body)
if success then if success then
LOG.print(text.loginSuccessed..": "..content.message) LOG.print(text.loginSuccessed..": "..content.message)
ACCOUNT.id=content.id
ACCOUNT.username=content.username ACCOUNT.username=content.username
ACCOUNT.auth_token=content.auth_token ACCOUNT.auth_token=content.auth_token
FILE.saveAccount() FILE.saveAccount()