view mod_log_auth/mod_log_auth.lua @ 622:ce39df945de1

mod_smacks: Use pre-resource-unbind (0.9 feature) to fix reloadability and multiple host support
author Matthew Wild <mwild1@gmail.com>
date Mon, 05 Mar 2012 16:53:30 +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);