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