view mod_log_auth/mod_log_auth.lua @ 601:00590d492a5b

mod_server_status: de-revert to use configmanager instead of module mm for the cleanup function also give it an unique name (mismatch possible "??")
author Marco Cirillo <maranda@lightwitch.org>
date Thu, 09 Feb 2012 00:53:32 +0000
parents 41feaf7fd8ac
children 608d9019b0de
line wrap: on
line source


module:hook("authentication-failure", function (event)
	module:log("info", "Failed authentication attempt (%s) from IP: %s", event.condition, event.session.ip);
end);