Mercurial > prosody-modules
view mod_log_auth/mod_log_auth.lua @ 420:eaafb38daa5e
mod_auth_phpbb3: Support legacy PHPBB2 password hashes (simple MD5).
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sat, 10 Sep 2011 22:37:18 +0500 |
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);