Software /
code /
prosody-modules
File
mod_log_auth/mod_log_auth.lua @ 638:60cee6923ee7
Tagging last 0.8.x compatible revision of this repo, for 0.8.x support move to http://code.google.com/p/prosody-modules.0-8/
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 28 Apr 2012 17:44:28 +0100 |
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);