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
commitc111857a8a537404838fa2d003717cdbdd28f182 (patch)
treec9352f3197224088a16296c217e43ec770b21177
parentb03001a81617e63d4af8a322342309ac0f14bc9b (diff)
downloadprosody-c111857a8a537404838fa2d003717cdbdd28f182.tar.gz
prosody-c111857a8a537404838fa2d003717cdbdd28f182.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