Software /
code /
prosody-modules
Changeset
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 | 2441:68ebc52222dc |
children | 2443:7f9ff36dc8d5 |
files | mod_auth_http_async/mod_auth_http_async.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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); }; }