File

mod_log_auth/mod_log_auth.lua @ 919:7d72fb45b1e4

mod_register_json: correct invalid characters into usernames' log message.
author Marco Cirillo <maranda@lightwitch.org>
date Mon, 04 Mar 2013 14:27:04 +0100
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);