Update sPhone.lua
This commit is contained in:
parent
d64154e4d0
commit
2aab3c0f2b
1 changed files with 3 additions and 0 deletions
|
@ -1158,6 +1158,9 @@ end
|
||||||
end
|
end
|
||||||
|
|
||||||
function login()
|
function login()
|
||||||
|
if config.read("/.sPhone/config/sPhone","lockEnabled") == nil then
|
||||||
|
config.write("/.sPhone/config/sPhone","lockEnabled",true)
|
||||||
|
end
|
||||||
local usingPW = config.read("/.sPhone/config/sPhone","lockEnabled")
|
local usingPW = config.read("/.sPhone/config/sPhone","lockEnabled")
|
||||||
if not usingPW then
|
if not usingPW then
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue