iteration
This commit is contained in:
		@ -78,7 +78,7 @@ while true do
 | 
			
		||||
        }
 | 
			
		||||
        
 | 
			
		||||
        -- if only user in database, add to admin group
 | 
			
		||||
        if table.getn(data.users) == 1 then
 | 
			
		||||
        if table.getn(data.users) == 2 then
 | 
			
		||||
            log("Adding " .. request.username .. " to admin group")
 | 
			
		||||
            data.users[request.username].groups = {}
 | 
			
		||||
            data.users[request.username].groups["admin"] = true
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user