Update sms.lua
This commit is contained in:
parent
2617ddeea7
commit
fde1649bfa
1 changed files with 2 additions and 2 deletions
|
@ -27,9 +27,9 @@ f = fs.open("/.sPhone/config/username", "r")
|
||||||
local user = f.readLine()
|
local user = f.readLine()
|
||||||
f.close()
|
f.close()
|
||||||
f = fs.open("/.sPhone/config/.sIDpw", "r")
|
f = fs.open("/.sPhone/config/.sIDpw", "r")
|
||||||
local pass = base64.decode(f.readLine())
|
local pass = f.readLine()
|
||||||
f.close()
|
f.close()
|
||||||
local head = "user="..user.."&password="..pass
|
local head = "user="..user.."&password="..pass.."$hashed=true"
|
||||||
http.request(server.."login.php",head)
|
http.request(server.."login.php",head)
|
||||||
local update = os.startTimer(0.15)
|
local update = os.startTimer(0.15)
|
||||||
local pos = 1
|
local pos = 1
|
||||||
|
|
Loading…
Reference in a new issue