From dd9b33907ae46bb604fd6078b92e3da3f3504942 Mon Sep 17 00:00:00 2001 From: link2xt Date: Fri, 13 Oct 2023 18:48:42 +0000 Subject: [PATCH] Log the lookup command in doveauth.lua --- doveauth/src/doveauth/doveauth.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doveauth/src/doveauth/doveauth.lua b/doveauth/src/doveauth/doveauth.lua index 11dfccfb..b5083b8b 100644 --- a/doveauth/src/doveauth/doveauth.lua +++ b/doveauth/src/doveauth/doveauth.lua @@ -17,8 +17,10 @@ function chatctl_verify(user, password) end function chatctl_lookup(user) + local cmd = "doveauth hexlookup "..escape(user) assert(user) - local handle = io.popen("doveauth hexlookup "..escape(user)) + print("executing: "..cmd) + local handle = io.popen(cmd) local result = handle:read("*a") handle:close() return split_chatctl(result)