iteration

This commit is contained in:
Layla 2023-10-08 00:35:08 -04:00
parent f5c104b3de
commit d8f6c626ef

View File

@ -73,7 +73,7 @@ while true do
rednet.send(client_id, "user not found")
end
if convert_password(data.users[request.username].password) == request.password then
if convert_password(request.password) == data.users[request.username].password then
local token = generate_token(request.username)
rednet.send(client_id, token)