Mercurial > prosody-modules
view mod_log_auth/mod_log_auth.lua @ 632:dcb8e7d2c711
mod_archive: applied patch from stephen.weber@gswot.org to fix issue 6 and 7; need fully test.
author | shinysky<shinysky1986(AT)gmail.com> |
---|---|
date | Thu, 29 Mar 2012 10:32:40 +0800 |
parents | 41feaf7fd8ac |
children | 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);