aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_auth_internal_plain.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2013-08-10 20:06:51 +0200
committerKim Alvefur <zash@zash.se>2013-08-10 20:06:51 +0200
commit5dc7169a08a3261e176b60844a6024994cb4d06a (patch)
treec991a851fd37f40385a223a78b75bffabfccffaa /plugins/mod_auth_internal_plain.lua
parent8717f83b219e6d1d7d5624c304e4808e5c43e00c (diff)
downloadprosody-5dc7169a08a3261e176b60844a6024994cb4d06a.tar.gz
prosody-5dc7169a08a3261e176b60844a6024994cb4d06a.zip
mod_auth_internal_plain: Remove redundant hostname from log messages
Diffstat (limited to 'plugins/mod_auth_internal_plain.lua')
-rw-r--r--plugins/mod_auth_internal_plain.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/mod_auth_internal_plain.lua b/plugins/mod_auth_internal_plain.lua
index 4d698fa0..b2c8cb2b 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 for user %s at host %s", username, host);
+ log("debug", "test password for user '%s'", username);
local credentials = accounts:get(username) or {};
if password == credentials.password then
@@ -30,7 +30,7 @@ function provider.test_password(username, password)
end
function provider.get_password(username)
- log("debug", "get_password for username '%s' at host '%s'", username, host);
+ log("debug", "get_password for username '%s'", username);
return (accounts:get(username) or {}).password;
end
@@ -46,7 +46,7 @@ end
function provider.user_exists(username)
local account = accounts:get(username);
if not account then
- log("debug", "account not found for username '%s' at host '%s'", username, host);
+ log("debug", "account not found for username '%s'", username);
return nil, "Auth failed. Invalid username";
end
return true;