.
This commit is contained in:
parent
2f48218363
commit
e56a4b8994
@ -17,8 +17,9 @@ local function createPwHash()
|
||||
pwHash = hash.digestStr(input .. os.getComputerID())
|
||||
|
||||
write("Confirm new password: ")
|
||||
local inputConfirmation = read("*")
|
||||
local inputConfirmed = pwHash == inputConfirmation
|
||||
local input2 = read("*")
|
||||
local input2Hash = hash.digestStr(input2 .. os.getComputerID())
|
||||
local inputConfirmed = pwHash == input2
|
||||
end
|
||||
return pwHash
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user