view mod_log_auth/mod_log_auth.lua @ 546:0afe88f9bdde

mod_server_status: fixed trace case when an user, mistakenly or not, sets a component which doesn't exist into the plugin config. (thanks chris)
author Marco Cirillo <maranda@lightwitch.org>
date Tue, 10 Jan 2012 20:55:45 +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);