File

mod_log_auth/mod_log_auth.lua @ 771:889e7a60a2e7

mod_privacy: Remove, obsolete (bundled with Prosody). Don't come back!
author Matthew Wild <mwild1@gmail.com>
date Sat, 04 Aug 2012 20:40:10 +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);