mod_log_sasl_mech: Logs authentication mechanism used
module:hook("authentication-success",function(event)localsasl_handler=event.session.sasl_handler;module:log("info","Authenticated with %s",sasl_handlerandsasl_handler.selectedor"legacy auth");end);