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