# HG changeset patch # User Kim Alvefur # Date 1376158011 -7200 # Node ID 70bb0df1ffe79700504c2398c8823965b86f2e2a # Parent 8ea6fa8459e3c0df706942eb60da9b7fc1712299 mod_auth_internal_plain: Remove redundant hostname from log messages diff -r 8ea6fa8459e3 -r 70bb0df1ffe7 plugins/mod_auth_internal_plain.lua --- a/plugins/mod_auth_internal_plain.lua Sat Aug 10 19:53:22 2013 +0200 +++ b/plugins/mod_auth_internal_plain.lua Sat Aug 10 20:06:51 2013 +0200 @@ -19,7 +19,7 @@ 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 @@ 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 @@ 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;