mod_http_muc_log: Move CSS and JS out of template
This allows applying different cache and security policies to the static
resources, while reducing the size of all pages.
module:depends("audit");
-- luacheck: read globals module.audit
module:hook("authentication-failure", function(event)
local session = event.session;
module:audit(session.sasl_handler.username, "authentication-failure", {
session = session,
});
end)
module:hook("authentication-success", function(event)
local session = event.session;
module:audit(session.sasl_handler.username, "authentication-success", {
session = session,
});
end)