iteration

This commit is contained in:
Layla 2023-10-08 05:01:36 -04:00
parent 0f748992a8
commit 75a45e18e3

View File

@ -79,6 +79,7 @@ while true do
-- if only user in database, add to admin group
if table.getn(data.users) == 1 then
log("Adding " .. request.username .. " to admin group")
data.users[request.username].groups = {}
data.users[request.username].groups["admin"] = true
end