File

mod_log_auth/mod_log_auth.lua @ 551:859bf77b9fbf

mod_register_json: fire user-registered event manually on the destination host. (thanks Mr. Gecko)
author Marco Cirillo <maranda@lightwitch.org>
date Sat, 14 Jan 2012 21:45:37 +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);