File

mod_log_auth/mod_log_auth.lua @ 544:f78a95aa23c4

mod_server_status: corrected mistake in the code.
author Marco Cirillo <maranda@lightwitch.org>
date Tue, 10 Jan 2012 19:57:06 +0000
parent 407:41feaf7fd8ac
child 1097: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);