tweaks + new screen savers

This commit is contained in:
kepler155c@gmail.com
2019-11-02 14:15:23 -06:00
parent 4ce86a9e5a
commit 7423176c52
4 changed files with 8 additions and 9 deletions

View File

@@ -19,11 +19,7 @@ repeat
local s, m = pcall(function()
local password = Terminal.readPassword('Enter password: ')
if not password then
error('Invalid password')
end
if Security.verifyPassword(SHA.compute(password or '')) then
if password and Security.verifyPassword(SHA.compute(password)) then
return true
end
error('Invalid password')