mirror of
https://github.com/bjc/prosody.git
synced 2025-04-06 22:57:38 +03:00
mod_auth_internal_plain: Don't log passwords, even at debug level
This commit is contained in:
parent
4602591c38
commit
3f91421f0c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue