From 2a28af24dd134db01d0b68665db2090ea7afee02 Mon Sep 17 00:00:00 2001 From: Ale2610 Date: Sat, 29 Aug 2015 17:55:21 +0200 Subject: [PATCH] Update sID.lua --- src/apps/system/sID.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/apps/system/sID.lua b/src/apps/system/sID.lua index 3ce85dc..15f3e43 100644 --- a/src/apps/system/sID.lua +++ b/src/apps/system/sID.lua @@ -118,9 +118,11 @@ while true do "Logout", } _, id = ui.menu(menu, "Sertex ID", true) - if id == 1 then + if id == 1 then fs.delete("/.sPhone/config/.sIDpw") - end + elseif id == 0 then + return + end else menu = { "Login", @@ -131,6 +133,8 @@ while true do login() elseif id == 2 then register() + elseif id == 0 then + return end end end