Software /
code /
prosody-modules
File
mod_log_auth/mod_log_auth.lua @ 563:cd5581b58fdc
mod_register_json: switched module:get_option_boolean("use_libevent", nil) with require "core.configmanager".get("*", "core", "use_libevent") as the first possibly won't work (module is unloaded)
author | Marco Cirillo <maranda@lightwitch.org> |
---|---|
date | Tue, 17 Jan 2012 01:31:58 +0000 |
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);