Update sPhone.lua
This commit is contained in:
parent
0229cfd6d2
commit
2617ddeea7
1 changed files with 15 additions and 15 deletions
|
@ -681,7 +681,7 @@ end
|
||||||
f.write(name)
|
f.write(name)
|
||||||
f.close()
|
f.close()
|
||||||
local pwf = fs.open("/.sPhone/config/.sIDPw", "w")
|
local pwf = fs.open("/.sPhone/config/.sIDPw", "w")
|
||||||
pwf.write(base64.encode(pw))
|
pwf.write(sha256.sha256(pw))
|
||||||
pwf.close()
|
pwf.close()
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
|
@ -711,7 +711,7 @@ end
|
||||||
f.write(name)
|
f.write(name)
|
||||||
f.close()
|
f.close()
|
||||||
f = fs.open("/.sPhone/config/.sIDpw", "w")
|
f = fs.open("/.sPhone/config/.sIDpw", "w")
|
||||||
f.write(base64.encode(pw))
|
f.write(sha256.sha256(pw))
|
||||||
f.close()
|
f.close()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue