aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_auth_internal_plain.lua
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
commitc516e5794ac37a36e4230f6f12b63ea09fc385cf (patch)
treec9352f3197224088a16296c217e43ec770b21177 /plugins/mod_auth_internal_plain.lua
parentc63dc9181d8a0b747a297e7b108960eac8e18897 (diff)
downloadprosody-c516e5794ac37a36e4230f6f12b63ea09fc385cf.tar.gz
prosody-c516e5794ac37a36e4230f6f12b63ea09fc385cf.zip
mod_auth_internal_plain: Don't log passwords, even at debug level
Diffstat (limited to 'plugins/mod_auth_internal_plain.lua')
-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