File

mod_log_sasl_mech/mod_log_sasl_mech.lua @ 1430:18f5f1b13353

mod_mam_muc: Use max_history_length as default for "max_archive_query_results"
author daurnimator <quae@daurnimator.com>
date Thu, 05 Jun 2014 17:13:38 -0400
parent 1393:4baaa5a66a5a
child 5795: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);