From 3127b95378f5d0a0887e9eed17b3edf457636bb6 Mon Sep 17 00:00:00 2001 From: Ale2610 Date: Sat, 29 Aug 2015 18:47:51 +0200 Subject: [PATCH] Update sID.lua --- src/apps/system/sID.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/apps/system/sID.lua b/src/apps/system/sID.lua index 15f3e43..2b74ee3 100644 --- a/src/apps/system/sID.lua +++ b/src/apps/system/sID.lua @@ -67,6 +67,7 @@ local function login() f = fs.open("/.sPhone/config/.sIDpw", "w") f.write(base64.encode(pw)) f.close() + sPhone.name = name end end @@ -96,6 +97,7 @@ local function register() else print(" Wrong Password") sleep(1) + term.clearLine() end end local rServer = http.post("http://sertex.esy.es/register.php", "user="..name.."&password="..pw).readAll() @@ -109,6 +111,7 @@ local function register() local pwf = fs.open("/.sPhone/config/.sIDPw", "w") pwf.write(base64.encode(pw)) pwf.close() + sPhone.name = name end end