修正分支合并
This commit is contained in:
@@ -13,20 +13,17 @@ function keyDown.register(key)
|
||||
elseif password~=password2 then
|
||||
LOG.print(text.diffPassword)return
|
||||
end
|
||||
local res=json.encode{
|
||||
username=username,
|
||||
email=email,
|
||||
password=password,
|
||||
}
|
||||
if res then
|
||||
httpRequest(
|
||||
TICK.httpREQ_register,
|
||||
PATH.api..PATH.auth,
|
||||
"POST",
|
||||
{["Content-Type"]="application/json"},
|
||||
res
|
||||
)
|
||||
end
|
||||
httpRequest(
|
||||
TICK.httpREQ_register,
|
||||
PATH.api..PATH.auth,
|
||||
"POST",
|
||||
{["Content-Type"]="application/json"},
|
||||
json.encode{
|
||||
username=username,
|
||||
email=email,
|
||||
password=password,
|
||||
}
|
||||
)
|
||||
elseif key=="escape"then
|
||||
SCN.back()
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user