change "username" textbox in login scene to "email" textbox

This commit is contained in:
Particle_G
2020-11-24 02:34:46 +08:00
committed by MrZ626
parent 8f2b62ccc0
commit b924656abd
3 changed files with 7 additions and 8 deletions

View File

@@ -155,8 +155,7 @@ function Tick.httpREQ_login(data)
if response.code==200 then
local success,content=json.decode(response.body)
if success then
-- LOG.print(text.registerSuccessed..": "..content.message)
-- TODO: display a login success message
LOG.print(text.loginSuccessed..": "..content.message)
-- TODO: save {content.token} to storage and a global variable
-- TODO: save {content.user_id} to a global variable
else