Mercurial > prosody-modules
view mod_log_auth/mod_log_auth.lua @ 652:3e6f43ab7e22
mod_inotify_reload: Reload modules when their code changes
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Sun, 29 Apr 2012 16:57:21 +0100 |
| 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);
