diff -r 93e468eb2ffb -r 14ea0fe6ca86 core/usermanager.lua --- a/core/usermanager.lua Sat Oct 04 15:24:52 2008 +0100 +++ b/core/usermanager.lua Sat Oct 04 15:25:54 2008 +0100 @@ -1,10 +1,12 @@ require "util.datamanager" local datamanager = datamanager; +local log = require "util.logger".init("usermanager"); module "usermanager" function validate_credentials(host, username, password) + log("debug", "User '%s' is being validated", username); local credentials = datamanager.load(username, host, "accounts") or {}; if password == credentials.password then return true; end return false;