iteration

This commit is contained in:
2023-10-08 05:19:07 -04:00
parent 2114e16af9
commit 1fe688e287
2 changed files with 18 additions and 1 deletions

View File

@ -101,7 +101,7 @@ elseif action == "group" then
if subaction == "list" then
local result = auth.list_user_groups(settings.get("auth.username"))
io.write("Groups: " .. auth.list_to_string(result) .. "\n")
io.write("Groups: " .. auth.trueKeysToString(result) .. "\n")
elseif subaction == "add" then
local target_user = args[3]
local group = args[4]