projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e9cdb4
)
mod_auth_internal_plain: Don't log passwords, even at debug level
author
Matthew Wild
<mwild1@gmail.com>
Tue, 23 Apr 2013 14:13:51 +0000
(15:13 +0100)
committer
Matthew Wild
<mwild1@gmail.com>
Tue, 23 Apr 2013 14:13:51 +0000
(15:13 +0100)
plugins/mod_auth_internal_plain.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_auth_internal_plain.lua
b/plugins/mod_auth_internal_plain.lua
index e411c4f7d7f5b429121268008539604b0a44f95a..d226fdbefa5cb2adbd6ef443457751941f5272c7 100644
(file)
--- 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