mod_log_auth/mod_log_auth.lua
author Kim Alvefur <zash@zash.se>
Sat, 04 Jan 2014 23:12:32 +0100
changeset 1269 69d42d2427f7
parent 1097 608d9019b0de
child 1427 322a076f53e8
permissions -rw-r--r--
mod_s2s_auth_dane: Fix typo in comment (thanks albert)


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);