From 7a79961839c8d561d20fb76f47492835d42a023b Mon Sep 17 00:00:00 2001 From: Layla Manley Date: Sun, 8 Oct 2023 04:57:53 -0400 Subject: [PATCH] iteration --- packages/auth_server.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/auth_server.lua b/packages/auth_server.lua index 5d118ba..073e432 100644 --- a/packages/auth_server.lua +++ b/packages/auth_server.lua @@ -199,7 +199,7 @@ while true do if not found then rednet.send(client_id, "invalid token", "auth") - elseif data.users[acting_user]["groups"] ~= nil or 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