From 41c7bc33a01d4700b35e2fdb55db6efe7b622706 Mon Sep 17 00:00:00 2001 From: Layla Manley Date: Sun, 8 Oct 2023 03:14:12 -0400 Subject: [PATCH] iteration --- auth_server.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/auth_server.lua b/auth_server.lua index 51c2407..626d3c9 100644 --- a/auth_server.lua +++ b/auth_server.lua @@ -107,7 +107,7 @@ while true do log("Token request from " .. client_id) if request.token == nil or request.token == "" or request.token == -1 then rednet.send(client_id, "invalid request", "auth") - log("Token request from " .. client_id .. " denied") + log("Token request from " .. client_id .. " denied (invalid request)") else local found = false @@ -120,6 +120,7 @@ while true do end if not found then + log("Token request from " .. client_id .. " denied (invalid token)") rednet.send(client_id, "invalid token", "auth") end end