aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-04-23 15:13:51 +0100
committerMatthew Wild <mwild1@gmail.com>2013-04-23 15:13:51 +0100
commitb41a36e310c79eb1bd5c070ca23d8ed26149c476 (patch)
treec9352f3197224088a16296c217e43ec770b21177
parentde45e52dd7835c8274142e203433ec7bbf396bb9 (diff)
downloadprosody-b41a36e310c79eb1bd5c070ca23d8ed26149c476.tar.gz
prosody-b41a36e310c79eb1bd5c070ca23d8ed26149c476.zip
mod_auth_internal_plain: Don't log passwords, even at debug level
-rw-r--r--plugins/mod_auth_internal_plain.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_auth_internal_plain.lua b/plugins/mod_auth_internal_plain.lua
index e411c4f7..d226fdbe 100644
--- a/plugins/mod_auth_internal_plain.lua
+++ b/plugins/mod_auth_internal_plain.lua
@@ -19,7 +19,7 @@ local provider = {};
log("debug", "initializing internal_plain authentication provider for host '%s'", host);
function provider.test_password(username, password)
- log("debug", "test password '%s' for user %s at host %s", password, username, host);
+ log("debug", "test password for user %s at host %s", username, host);
local credentials = accounts:get(username) or {};
if password == credentials.password then