view mod_log_sasl_mech/mod_log_sasl_mech.lua @ 3329:43d0e298ddda

mod_conversejs: Explicitly depend on mod_http Not required since mod_bosh and mod_websocket already depend on mod_http, but explicit > implicit. hg: Enter commit message. Lines beginning with 'HG:' are removed.
author Kim Alvefur <zash@zash.se>
date Sun, 23 Sep 2018 18:54:52 +0200
parents 4baaa5a66a5a
children 5ff8022466ab
line wrap: on
line source


module:hook("authentication-success", function (event)
	local session = event.session;
	local sasl_handler = session.sasl_handler;
	session.log("info", "Authenticated with %s", sasl_handler and sasl_handler.selected or "legacy auth");
end);