iteration
This commit is contained in:
parent
f5c104b3de
commit
d8f6c626ef
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user