mod_auth_http_async: Log URL when testing password
authorJC Brand <jc@opkode.com>
Thu, 12 Jan 2017 10:13:58 +0000
changeset 2446 b2a198665946
parent 2445 68ebc52222dc
child 2447 7f9ff36dc8d5
mod_auth_http_async: Log URL when testing password
mod_auth_http_async/mod_auth_http_async.lua
--- a/mod_auth_http_async/mod_auth_http_async.lua	Thu Jan 12 09:49:32 2017 +0000
+++ b/mod_auth_http_async/mod_auth_http_async.lua	Thu Jan 12 10:13:58 2017 +0000
@@ -33,8 +33,8 @@
 local provider = {};
 
 function provider.test_password(username, password)
-	log("debug", "test password for user %s at host %s", username, host);
 	local url = api_base:gsub("$user", username);
+	log("debug", "Testing password for user %s at host %s with URL %s", username, host, url);
 	local ex = {
 		headers = { Authorization = "Basic "..base64(username..":"..password); };
 	}