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
commit3f91421f0c6c561bcb7a72caec883c54123573b6 (patch)
treec9352f3197224088a16296c217e43ec770b21177
parent4602591c38c128e44da7535d25baf3647dadc9e1 (diff)
downloadprosody-3f91421f0c6c561bcb7a72caec883c54123573b6.tar.gz
prosody-3f91421f0c6c561bcb7a72caec883c54123573b6.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