1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-05 19:31:04 +00:00

remove general login stuff

This commit is contained in:
Abdurahman Elmawi 2025-06-29 18:06:59 +03:00
parent f769c4caa2
commit 35540c5c32
2 changed files with 2 additions and 34 deletions

View file

@ -56,12 +56,10 @@ end
-- Persists the selected server in the "address" and "remote_port" settings
local function get_default_playername()
print(keyringmgr.get_last_playername())
return keyringmgr.get_last_playername() or core.settings:get("name")
return core.settings:get("name")
end
local function get_default_password()
print(keyringmgr.get_last_password())
return keyringmgr.get_last_password() or ""
return ""
end
local input_playername = get_default_playername()