This commit is contained in:
Julian Brammer 2024-06-08 21:00:18 +02:00
parent 2f48218363
commit e56a4b8994

View File

@ -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