view mod_log_auth/mod_log_auth.lua @ 976:0428009c1127

mod_muc_log: some cleanup and code refactor also force the plugin storage driver being internal.
author Marco Cirillo <maranda@lightwitch.org>
date Mon, 08 Apr 2013 01:00:26 +0200
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);