Software / code / prosody-modules
File
mod_log_sasl_mech/mod_log_sasl_mech.lua @ 1388:6e1facedcb74
mam_sql: Make forwarded a child element of result, rather than a sibling
This makes mod_mam_sql conform to a newer version of XEP-313, which some
clients require
| author | Rob Hoelz <rob@hoelz.ro> |
|---|---|
| date | Tue, 22 Apr 2014 20:16:40 -0500 |
| parent | 1292:2d061333d0c2 |
| child | 1393:4baaa5a66a5a |
line wrap: on
line source
module:hook("authentication-success", function (event) local sasl_handler = event.session.sasl_handler; module:log("info", "Authenticated with %s", sasl_handler and sasl_handler.selected or "legacy auth"); end);