This module stores authentication failures and authentication
successes in the audit log provided by mod_audit
.
If mod_client_management is loaded, it will also record entries when a new client is connected to the user’s account for the first time. For non-SASL2 clients, this may have false positives.
With the plugin installer in Prosody 0.12 you can use:
sudo prosodyctl install --server=https://modules.prosody.im/rocks/ mod_audit_auth
For earlier versions see the documentation for installing 3rd party modules