.
This commit is contained in:
parent
e56a4b8994
commit
76135cbb19
@ -19,6 +19,10 @@ local function createPwHash()
|
|||||||
write("Confirm new password: ")
|
write("Confirm new password: ")
|
||||||
local input2 = read("*")
|
local input2 = read("*")
|
||||||
local input2Hash = hash.digestStr(input2 .. os.getComputerID())
|
local input2Hash = hash.digestStr(input2 .. os.getComputerID())
|
||||||
|
print(pwHash)
|
||||||
|
print(input2Hash)
|
||||||
|
print(input)
|
||||||
|
print(input2)
|
||||||
local inputConfirmed = pwHash == input2
|
local inputConfirmed = pwHash == input2
|
||||||
end
|
end
|
||||||
return pwHash
|
return pwHash
|
||||||
|
Loading…
Reference in New Issue
Block a user