iteration
This commit is contained in:
		@ -86,6 +86,7 @@ while true do
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
        local user_count = countElements(data.users)
 | 
					        local user_count = countElements(data.users)
 | 
				
			||||||
 | 
					        log(user_count .. " users registered")
 | 
				
			||||||
        if user_count == 1 then
 | 
					        if user_count == 1 then
 | 
				
			||||||
            data.users[request.username].groups = {
 | 
					            data.users[request.username].groups = {
 | 
				
			||||||
                ["admin"] = true
 | 
					                ["admin"] = true
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user