iteration
This commit is contained in:
		@ -199,7 +199,7 @@ while true do
 | 
			
		||||
 | 
			
		||||
            if not found then
 | 
			
		||||
                rednet.send(client_id, "invalid token", "auth")
 | 
			
		||||
            elseif 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
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user