Software /
code /
prosody-modules
File
mod_log_auth/mod_log_auth.lua @ 1010:fd420237a5e4
mod_storage_mongodb: Use util.json to encode our data (handles non-string table keys, etc).
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Thu, 09 May 2013 11:23:07 -0400 |
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);