File

mod_log_auth/mod_log_auth.lua @ 419:2a2b70e1a998

mod_auth_phpbb3: Apply stringprep, and try automatic JID escaping to derive username.
author Waqas Hussain <waqas20@gmail.com>
date Sat, 10 Sep 2011 22:35:59 +0500
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);