view mod_log_auth/mod_log_auth.lua @ 1248:69f7840923f5

mod_srvinjection: Make the map a shared table so that other plugins can use/modify it
author daurnimator <quae@daurnimator.com>
date Tue, 10 Dec 2013 23:15:15 +0000
parents 608d9019b0de
children 322a076f53e8
line wrap: on
line source


module:hook("authentication-failure", function (event)
	module:log("info", "Failed authentication attempt (%s) from IP: %s", event.condition or "unknown-condition", event.session.ip or "?");
end);