Mercurial > prosody-modules
diff mod_auth_http_async/mod_auth_http_async.lua @ 2442:b2a198665946
mod_auth_http_async: Log URL when testing password
author | JC Brand <jc@opkode.com> |
---|---|
date | Thu, 12 Jan 2017 10:13:58 +0000 |
parents | 5e8dec076afc |
children | a11568bfaf4c |
line wrap: on
line diff
--- 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); }; }