view mod_log_auth/mod_log_auth.lua @ 593:db2a40cbd6ef

Add a <delay> to stanzas that are queued (and don't have one already), so clients can show them with the original timestamp.
author Thijs Alkemade <thijsalkemade@gmail.com>
date Thu, 02 Feb 2012 01:23:43 +0100
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);