view mod_log_auth/mod_log_auth.lua @ 1198:b21bd39c8a12

mod_auth_imap: Leave port nil if not specified in the config, so we can auto-detect based on whether we use SSL
author Matthew Wild <mwild1@gmail.com>
date Thu, 26 Sep 2013 18:11:44 +0100
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);