diff --git a/src/apps/system/settings.lua b/src/apps/system/settings.lua index 3dc9b45..617ade8 100644 --- a/src/apps/system/settings.lua +++ b/src/apps/system/settings.lua @@ -1,7 +1,6 @@ local menu = { "Update", - "Change username", - "Change password", + "Change PIN", } local function clear() @@ -23,18 +22,6 @@ local function header() term.setTextColor(colors.black) end -local function changeUsername() - header() - term.setCursorPos(2,3) - write("New Username: ") - local newUsername = read() - local f = fs.open("/.sPhone/config/username","w") - f.write(newUsername) - f.close() - sPhone.user = newUsername - print(" All Set!") -end - local function changePassword() while true do term.clear() @@ -183,8 +170,6 @@ local function redraw() elseif id == 1 then setfenv(loadstring(http.get("https://raw.githubusercontent.com/Sertex-Team/sPhone/master/src/installer.lua").readAll()),getfenv())() elseif id == 2 then - changeUsername() - elseif id == 3 then changePassword() end end