iteration

This commit is contained in:
Layla 2023-10-08 04:57:53 -04:00
parent c06a8f2265
commit 7a79961839

View File

@ -199,7 +199,7 @@ while true do
if not found then
rednet.send(client_id, "invalid token", "auth")
elseif data.users[acting_user]["groups"] ~= nil or data.users[acting_user].groups["admin"] == nil then
elseif data.users[acting_user]["groups"] == nil or data.users[acting_user].groups["admin"] == nil then
rednet.send(client_id, "invalid privileges", "auth")
else
if data.users[request.username].groups == nil then